1 2 3 4 5 6 7
# Gitea's URLs are compatible with GitHub { lib, fetchFromGitHub }: { domain, ... }@args: fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })