mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
23 lines
574 B
Nix
23 lines
574 B
Nix
{ stdenv, fetchurl, makeWrapper, python2, bazaar }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "bzr-tools-${version}";
|
|
version = "2.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://launchpad.net/bzrtools/stable/${version}/+download/bzrtools-${version}.tar.gz";
|
|
sha256 = "0n3zzc6jf5866kfhmrnya1vdr2ja137a45qrzsz8vz6sc6xgn5wb";
|
|
};
|
|
|
|
buildInputs = [ makeWrapper python2 ];
|
|
|
|
installPhase = ''
|
|
${python2}/bin/python ./setup.py install --prefix=$out
|
|
'';
|
|
|
|
meta = {
|
|
description = "Bazaar plugins";
|
|
homepage = http://wiki.bazaar.canonical.com/BzrTools;
|
|
};
|
|
}
|