nixpkgs-suyu/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 20:49:37 +01: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 20:49:37 +01:00
inherit url rev context name;
}
)