2011-03-29 17:19:59 +02:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
2008-01-18 11:29:58 +01:00
|
|
|
|
2010-08-12 21:53:38 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2013-01-15 16:39:25 +01:00
|
|
|
version = "2.5";
|
2011-03-28 17:47:50 +02:00
|
|
|
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";
|
2013-01-15 16:39:25 +01:00
|
|
|
sha256 = "10krjbzia2avn09p0cdlbx2wya0r5v11w5ymvyl72af5dkx4cwwn";
|
2008-01-18 11:29:58 +01:00
|
|
|
};
|
|
|
|
|
2011-03-29 17:19:59 +02:00
|
|
|
buildInputs = [ pythonPackages.python pythonPackages.wrapPython ];
|
2011-03-28 18:33:33 +02:00
|
|
|
|
2011-03-28 18:48:02 +02:00
|
|
|
# Readline support is needed by bzrtools.
|
2012-02-22 00:35:35 +01:00
|
|
|
pythonPath = [ 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";
|
2012-07-31 23:21:41 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-01-18 11:29:58 +01:00
|
|
|
};
|
|
|
|
}
|