2024-06-30 08:12:46 +00:00
|
|
|
{
|
|
|
|
stdenvNoCC,
|
|
|
|
darcs,
|
|
|
|
cacert,
|
|
|
|
lib,
|
|
|
|
}:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
lib.makeOverridable (
|
2024-06-30 08:12:46 +00:00
|
|
|
{
|
|
|
|
url,
|
|
|
|
rev ? null,
|
|
|
|
context ? null,
|
|
|
|
sha256 ? "",
|
|
|
|
name ? "fetchdarcs",
|
|
|
|
}:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
builder = ./builder.sh;
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cacert
|
|
|
|
darcs
|
|
|
|
];
|
2024-05-02 00:46:19 +00:00
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHash = sha256;
|
2024-05-02 00:46:19 +00:00
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
inherit
|
|
|
|
url
|
|
|
|
rev
|
|
|
|
context
|
|
|
|
name
|
|
|
|
;
|
|
|
|
}
|
2024-05-02 00:46:19 +00:00
|
|
|
)
|