diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2015-05-03 00:02:04 +0200 |
---|---|---|
committer | Pascal Wittmann <mail@pascal-wittmann.de> | 2015-05-03 00:02:04 +0200 |
commit | 9dcac56f34f905a656db546ff06d9cdd5bbb41d5 (patch) | |
tree | 9490544fdcb900a6aabfe27acd95470655a13e76 /pkgs/applications/version-management/bazaar | |
parent | 2514f80bdf326d349ce85991ec5a36645e7feaf3 (diff) |
bzrTools: update from 2.5 to 2.6 and refactor
Diffstat (limited to 'pkgs/applications/version-management/bazaar')
-rw-r--r-- | pkgs/applications/version-management/bazaar/tools.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/applications/version-management/bazaar/tools.nix b/pkgs/applications/version-management/bazaar/tools.nix index f10fb5e65ce29..4e03371ff1962 100644 --- a/pkgs/applications/version-management/bazaar/tools.nix +++ b/pkgs/applications/version-management/bazaar/tools.nix @@ -1,20 +1,22 @@ -args : with args; +{ stdenv, fetchurl, makeWrapper, python2, bazaar }: -rec { - version = "2.5"; +stdenv.mkDerivation rec { + name = "bzr-tools-${version}"; + version = "2.6.0"; + src = fetchurl { url = "http://launchpad.net/bzrtools/stable/${version}/+download/bzrtools-${version}.tar.gz"; - sha256 = "0gzh63vl9006cpklszwmsymrq5ddxxrnxwbv5bwi740jlvxzdkxw"; + sha256 = "0n3zzc6jf5866kfhmrnya1vdr2ja137a45qrzsz8vz6sc6xgn5wb"; }; - buildInputs = []; - configureFlags = []; + buildInputs = [ makeWrapper python2 ]; - /* doConfigure should be specified separately */ - phaseNames = [(simplyShare "bzrtools")]; + installPhase = '' + ${python2}/bin/python ./setup.py install --prefix=$out + ''; - name = "bzr-tools-${version}"; meta = { description = "Bazaar plugins"; + homepage = http://wiki.bazaar.canonical.com/BzrTools; }; } |