fetchFromGitorious: add helper

This commit is contained in:
Edward Tjörnhammar 2015-02-10 23:10:40 +01:00
parent 5cd15f8cc0
commit 3934bef138

View File

@ -373,6 +373,12 @@ let
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 {
showURLs = true;
inherit url;