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

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

36 lines
442 B
Nix
Raw Normal View History

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