47adaa80e3
(wrapPython). svn path=/nixpkgs/branches/modular-python/; revision=26580
27 lines
672 B
Nix
27 lines
672 B
Nix
{ stdenv, fetchurl, python, pythonPackages, wrapPython }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.3";
|
|
release = ".1";
|
|
name = "bazaar-${version}${release}";
|
|
|
|
src = fetchurl {
|
|
url = "http://launchpad.net/bzr/${version}/${version}${release}/+download/bzr-${version}${release}.tar.gz";
|
|
sha256 = "07kx41w4gqv68bcykdflsg68wvpmcyqknzyb4vr1zqlf27hahp53";
|
|
};
|
|
|
|
buildInputs = [ python wrapPython ];
|
|
|
|
pythonPath = [ pythonPackages.ssl ];
|
|
|
|
installPhase = ''
|
|
python setup.py install --prefix=$out
|
|
wrapPythonPrograms
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://bazaar-vcs.org/;
|
|
description = "A distributed version control system that Just Works";
|
|
};
|
|
}
|