2022-02-10 14:40:58 +01:00
|
|
|
{ fetchzip, lib }:
|
2019-01-26 16:06:25 +01:00
|
|
|
|
2022-02-10 14:40:58 +01:00
|
|
|
lib.makeOverridable (
|
2019-01-26 16:06:25 +01:00
|
|
|
{ owner, repo, rev, name ? "source"
|
|
|
|
, ... # For hash agility
|
|
|
|
}@args: fetchzip ({
|
|
|
|
inherit name;
|
|
|
|
url = "https://bitbucket.org/${owner}/${repo}/get/${rev}.tar.gz";
|
|
|
|
meta.homepage = "https://bitbucket.org/${owner}/${repo}/";
|
|
|
|
} // removeAttrs args [ "owner" "repo" "rev" ]) // { inherit rev; }
|
2022-02-10 14:40:58 +01:00
|
|
|
)
|