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

36 lines
442 B
Nix
Raw Normal View History

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