Added bazaar tools (not installed globally, just copied to share, you have to symlink them to your ~/.bazaar/plugins). Also readline support for python.
svn path=/nixpkgs/trunk/; revision=11893
This commit is contained in:
@@ -15,6 +15,11 @@ stdenv.mkDerivation {
|
||||
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";
|
||||
|
||||
23
pkgs/applications/version-management/bazaar/tools.nix
Normal file
23
pkgs/applications/version-management/bazaar/tools.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
args : with args;
|
||||
|
||||
if ! bazaar.python.readlineSupport then
|
||||
throw "Bazaar Tools require readline support in python."
|
||||
else
|
||||
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = http://launchpad.net/bzrtools/stable/1.5.0/+download/bzrtools-1.5.0.tar.gz;
|
||||
sha256 = "0lm4qhsjy3k8zp9hcahlf37v69w6lhhz2x3hjskgm3rk6b0bngjz";
|
||||
};
|
||||
|
||||
buildInputs = [];
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = [(simplyShare "bzrtools")];
|
||||
|
||||
name = "bzr-tools-1.5";
|
||||
meta = {
|
||||
description = "Bazaar plugins.";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user