diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-17 13:48:43 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-18 23:14:33 +0200 |
commit | 9ab90824d3ac6d84215809a78c7cc7c113ec8db1 (patch) | |
tree | 86784e01cf23682c6a8a7c7f52e1005369f412cf /pkgs/applications/version-management/bazaar | |
parent | 2c4fbe30fe8bad93cb678f2514587923f094f4bb (diff) |
bazaarTools: use python2 and refactor expression
Diffstat (limited to 'pkgs/applications/version-management/bazaar')
-rw-r--r-- | pkgs/applications/version-management/bazaar/tools.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/applications/version-management/bazaar/tools.nix b/pkgs/applications/version-management/bazaar/tools.nix index 68b69f335b630..d6c65548c1f70 100644 --- a/pkgs/applications/version-management/bazaar/tools.nix +++ b/pkgs/applications/version-management/bazaar/tools.nix @@ -1,6 +1,6 @@ -{ stdenv, fetchurl, makeWrapper, python2, bazaar }: +{ stdenv, fetchurl, makeWrapper, python2Packages, bazaar }: -stdenv.mkDerivation rec { +python2Packages.buildPythonApplication rec { name = "bzr-tools-${version}"; version = "2.6.0"; @@ -9,12 +9,8 @@ stdenv.mkDerivation rec { sha256 = "0n3zzc6jf5866kfhmrnya1vdr2ja137a45qrzsz8vz6sc6xgn5wb"; }; - buildInputs = [ makeWrapper python2 ]; + doCheck = false; - installPhase = '' - ${python2}/bin/python ./setup.py install --prefix=$out - ''; - meta = { description = "Bazaar plugins"; homepage = http://wiki.bazaar.canonical.com/BzrTools; |