mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
tortoisehg: use python2
This commit is contained in:
parent
d56209dc3b
commit
3cd2ca2751
@ -1,6 +1,6 @@
|
||||
{lib, fetchurl, mercurial, pythonPackages}:
|
||||
{lib, fetchurl, mercurial, python2Packages}:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
python2Packages.buildPythonApplication rec {
|
||||
name = "tortoisehg-${version}";
|
||||
version = "3.9.2";
|
||||
|
||||
@ -9,15 +9,15 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "17wcsf91z7dnb7c8vyagasj5vvmas6ms5lx1ny4pnm94qzslkfh2";
|
||||
};
|
||||
|
||||
pythonPath = with pythonPackages; [ pyqt4 mercurial qscintilla iniparse ];
|
||||
pythonPath = with python2Packages; [ pyqt4 mercurial qscintilla iniparse ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ qscintilla iniparse ];
|
||||
propagatedBuildInputs = with python2Packages; [ qscintilla iniparse ];
|
||||
|
||||
doCheck = false;
|
||||
dontStrip = true;
|
||||
buildPhase = "";
|
||||
installPhase = ''
|
||||
${pythonPackages.python.executable} setup.py install --prefix=$out
|
||||
${python2Packages.python.executable} setup.py install --prefix=$out
|
||||
ln -s $out/bin/thg $out/bin/tortoisehg #convenient alias
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user