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
zoekt: 3.7.2-2-unstable-2024-10-24 -> 3.7.2-2-unstable-2024-12-09 (#363818)
[NixPkgs.git]
/
pkgs
/
build-support
/
fetchbitbucket
/
default.nix
blob
9e64954bebff6235fa42e34b977925017c8047b1
1
{ fetchzip, lib }:
2
3
lib.makeOverridable (
4
{
5
owner,
6
repo,
7
rev,
8
name ? "source",
9
... # For hash agility
10
}@args:
11
fetchzip (
12
{
13
inherit name;
14
url = "https://bitbucket.org/${owner}/${repo}/get/${rev}.tar.gz";
15
meta.homepage = "https://bitbucket.org/${owner}/${repo}/";
16
}
17
// removeAttrs args [
18
"owner"
19
"repo"
20
"rev"
21
]
22
)
23
// {
24
inherit rev;
25
}
26
)