fetchFromBitbucket: Add
This commit is contained in:
parent
f0d324c23a
commit
d0e45e274b
@ -375,6 +375,12 @@ let
|
|||||||
inherit sha256;
|
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
|
# gitorious example
|
||||||
fetchFromGitorious = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
|
fetchFromGitorious = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user