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

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

22 lines
345 B
Nix
Raw Normal View History

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