tortoisehg: use python2
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{lib, fetchurl, mercurial, pythonPackages}:
|
{lib, fetchurl, mercurial, python2Packages}:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "tortoisehg-${version}";
|
name = "tortoisehg-${version}";
|
||||||
version = "3.9.2";
|
version = "3.9.2";
|
||||||
|
|
||||||
@@ -9,15 +9,15 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
sha256 = "17wcsf91z7dnb7c8vyagasj5vvmas6ms5lx1ny4pnm94qzslkfh2";
|
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;
|
doCheck = false;
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
buildPhase = "";
|
buildPhase = "";
|
||||||
installPhase = ''
|
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
|
ln -s $out/bin/thg $out/bin/tortoisehg #convenient alias
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user