depot/third_party/nixpkgs/pkgs/build-support/fetchbzr/default.nix

25 lines
358 B
Nix

{
lib,
stdenvNoCC,
breezy,
}:
lib.fetchers.withNormalizedHash { } (
{
url,
rev,
outputHash,
outputHashAlgo,
}:
stdenvNoCC.mkDerivation {
name = "bzr-export";
builder = ./builder.sh;
nativeBuildInputs = [ breezy ];
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";
inherit url rev;
}
)