fetchFromBitbucket: Add

This commit is contained in:
William A. Kennington III 2015-05-18 16:11:19 -07:00
parent f0d324c23a
commit d0e45e274b

View File

@ -375,6 +375,12 @@ let
inherit sha256;
};
fetchFromBitbucket = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
inherit name;
url = "https://bitbucket.org/${owner}/${repo}/get/${rev}.tar.gz";
inherit sha256;
};
# gitorious example
fetchFromGitorious = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
inherit name;