2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-03 10:44:18 +00:00
nixpkgs/pkgs/build-support/fetchdarcs/default.nix

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

24 lines
468 B
Nix
Raw Normal View History

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