2024-05-02 00:46:19 +00:00
|
|
|
{ fetchzip, lib }:
|
|
|
|
|
|
|
|
lib.makeOverridable (
|
2024-06-30 08:12:46 +00:00
|
|
|
{
|
|
|
|
url,
|
|
|
|
rev,
|
|
|
|
name ? "source",
|
|
|
|
...
|
|
|
|
}@args:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
fetchzip (
|
|
|
|
{
|
|
|
|
inherit name;
|
|
|
|
url = "${url}/+archive/${rev}.tar.gz";
|
|
|
|
stripRoot = false;
|
|
|
|
meta.homepage = url;
|
|
|
|
}
|
|
|
|
// removeAttrs args [
|
|
|
|
"url"
|
|
|
|
"rev"
|
|
|
|
]
|
|
|
|
)
|
|
|
|
// {
|
|
|
|
inherit rev;
|
|
|
|
}
|
2024-05-02 00:46:19 +00:00
|
|
|
)
|