1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/build-support/fetchbzr/default.nix
Ludovic Courtès 9383cd0a48 Add `fetchbzr', to retrieve remote Bazaar repositories.
svn path=/nixpkgs/trunk/; revision=12924
2008-09-26 08:57:51 +00:00

16 lines
263 B
Nix

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