nixpkgs-suyu/pkgs/build-support/fetchbzr/default.nix
2018-01-10 11:18:44 -05:00

15 lines
266 B
Nix

{ stdenvNoCC, bazaar }:
{ url, rev, sha256 }:
stdenvNoCC.mkDerivation {
name = "bzr-export";
builder = ./builder.sh;
nativeBuildInputs = [ bazaar ];
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = sha256;
inherit url rev;
}