You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
374 B
11 lines
374 B
5 years ago
|
{ fetchzip }:
|
||
|
|
||
|
# cgit example, snapshot support is optional in cgit
|
||
|
{ repo, rev, name ? "source"
|
||
|
, ... # For hash agility
|
||
|
}@args: fetchzip ({
|
||
|
inherit name;
|
||
|
url = "https://git.savannah.gnu.org/cgit/${repo}.git/snapshot/${repo}-${rev}.tar.gz";
|
||
|
meta.homepage = "https://git.savannah.gnu.org/cgit/${repo}.git/";
|
||
|
} // removeAttrs args [ "repo" "rev" ]) // { inherit rev; }
|