2023-05-24 13:37:59 +00:00
|
|
|
{stdenvNoCC, darcs, cacert, lib}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
lib.makeOverridable (
|
2023-03-15 16:39:30 +00:00
|
|
|
{ url
|
|
|
|
, rev ? null
|
|
|
|
, context ? null
|
|
|
|
, sha256 ? ""
|
|
|
|
, name ? "fetchdarcs"
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
builder = ./builder.sh;
|
|
|
|
nativeBuildInputs = [cacert darcs];
|
|
|
|
|
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHash = sha256;
|
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
inherit url rev context name;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|
2023-05-24 13:37:59 +00:00
|
|
|
)
|