1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/build-support/fetchbzr/default.nix
Benno Fünfstück e10001042d fetchbzr, fetchdarcs, fetchhg: use rev attr
This makes it match the behaviour of fetchgit and fetchsvn, so it's
easier to write scripts that support all of them.
2014-06-28 21:06:10 +02:00

16 lines
253 B
Nix

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