fetchFromGitorious: add helper
This commit is contained in:
parent
5cd15f8cc0
commit
3934bef138
@ -373,6 +373,12 @@ let
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fetchFromGitorious = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
|
||||||
|
inherit name;
|
||||||
|
url = "https://gitorious.org/${owner}/${repo}/archive/${rev}.tar.gz";
|
||||||
|
inherit sha256;
|
||||||
|
};
|
||||||
|
|
||||||
resolveMirrorURLs = {url}: fetchurl {
|
resolveMirrorURLs = {url}: fetchurl {
|
||||||
showURLs = true;
|
showURLs = true;
|
||||||
inherit url;
|
inherit url;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user