nixpkgs/pkgs/applications/version-management/bazaar/default.nix
Michael Raskin c4fb841955 An update for Bazaar was long overdue
svn path=/nixpkgs/trunk/; revision=23156
2010-08-12 19:53:38 +00:00

30 lines
770 B
Nix

{stdenv, fetchurl, python, makeWrapper}:
stdenv.mkDerivation rec {
version = "2.2";
release = ".0";
name = "bazaar-${version}${release}";
src = fetchurl {
url = "http://launchpad.net/bzr/${version}/${version}${release}/+download/bzr-${version}${release}.tar.gz";
sha256 = "64cd6c23097884e40686adc7f0ad4a8200e2292bdc5e0caba3563b6f5c32bacf";
};
buildInputs = [python makeWrapper];
installPhase = ''
python setup.py install --prefix=$out
wrapProgram $out/bin/bzr --prefix PYTHONPATH : "$(toPythonPath $out)"
'';
passthru = {
# If someone wants to assert python features..
inherit python;
};
meta = {
homepage = http://bazaar-vcs.org/;
description = "A distributed version control system that Just Works";
};
}