2011-03-28 18:33:33 +02:00
|
|
|
{ stdenv, fetchurl, python, pythonPackages, wrapPython }:
|
2008-01-18 11:29:58 +01:00
|
|
|
|
2010-08-12 21:53:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2011-03-28 17:47:50 +02:00
|
|
|
version = "2.3";
|
|
|
|
release = ".1";
|
2010-08-12 21:53:38 +02:00
|
|
|
name = "bazaar-${version}${release}";
|
2008-01-18 11:29:58 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-08-12 21:53:38 +02:00
|
|
|
url = "http://launchpad.net/bzr/${version}/${version}${release}/+download/bzr-${version}${release}.tar.gz";
|
2011-03-28 17:47:50 +02:00
|
|
|
sha256 = "07kx41w4gqv68bcykdflsg68wvpmcyqknzyb4vr1zqlf27hahp53";
|
2008-01-18 11:29:58 +01:00
|
|
|
};
|
|
|
|
|
2011-03-28 18:33:33 +02:00
|
|
|
buildInputs = [ python wrapPython ];
|
|
|
|
|
2011-03-28 18:48:02 +02:00
|
|
|
# Readline support is needed by bzrtools.
|
|
|
|
pythonPath = [ pythonPackages.ssl pythonPackages.readline ];
|
2008-01-18 11:29:58 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python setup.py install --prefix=$out
|
2011-03-28 18:33:33 +02:00
|
|
|
wrapPythonPrograms
|
2008-01-18 11:29:58 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://bazaar-vcs.org/;
|
|
|
|
description = "A distributed version control system that Just Works";
|
|
|
|
};
|
|
|
|
}
|