2023-05-24 13:37:59 +00:00
|
|
|
{ fetchzip, lib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
lib.makeOverridable (
|
2020-04-24 23:36:52 +00: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; }
|
2023-05-24 13:37:59 +00:00
|
|
|
)
|