Files
nixpkgs/pkgs/build-support/fetchdarcs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
556 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
stdenvNoCC,
darcs,
cacert,
lib,
}:
lib.makeOverridable (
lib.fetchers.withNormalizedHash { } (
{
url,
rev ? null,
context ? null,
outputHash ? lib.fakeHash,
outputHashAlgo ? null,
name ? "fetchdarcs",
}:
stdenvNoCC.mkDerivation {
builder = ./builder.sh;
nativeBuildInputs = [
cacert
darcs
];
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";
inherit
url
rev
context
name
;
}
)
)