mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
e10001042d
This makes it match the behaviour of fetchgit and fetchsvn, so it's easier to write scripts that support all of them.
15 lines
253 B
Nix
15 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;
|
|
}
|