repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
anvil-editor: init at 0.4
[NixPkgs.git]
/
pkgs
/
build-support
/
fetchgitiles
/
default.nix
blob
be81c6e8a4c21709a93969300028fd9d639d840f
1
{ fetchzip, lib }:
2
3
lib.makeOverridable (
4
{ url, rev, name ? "source", ... } @ args:
5
6
fetchzip ({
7
inherit name;
8
url = "${url}/+archive/${rev}.tar.gz";
9
stripRoot = false;
10
meta.homepage = url;
11
} // removeAttrs args [ "url" "rev" ]) // { inherit rev; }
12
)