git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
23 lines
468 B
Nix
23 lines
468 B
Nix
{stdenvNoCC, darcs, cacert, lib}:
|
|
|
|
lib.makeOverridable (
|
|
lib.fetchers.withNormalizedHash { } (
|
|
{ url
|
|
, rev ? null
|
|
, context ? null
|
|
, outputHash ? lib.fakeHash
|
|
, outputHashAlgo ? null
|
|
, name ? "fetchdarcs"
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
builder = ./builder.sh;
|
|
nativeBuildInputs = [cacert darcs];
|
|
|
|
inherit outputHash outputHashAlgo;
|
|
outputHashMode = "recursive";
|
|
|
|
inherit url rev context name;
|
|
}
|
|
)
|
|
)
|