summary refs log tree commit diff
path: root/pkgs/build-support/fetchgitea/default.nix
blob: 79804588cfe5a55adf21575558b57fe7745ab003 (plain) (blame)
1
2
3
4
5
6
7
# Gitea's URLs are compatible with GitHub

{ lib, fetchFromGitHub }:

{ domain, ... }@args:

fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })