tortoisehg: 4.1.1 -> 4.3.1, fix license dialog, check imports

Cherry picked from commits ba885e1d7d, 450123ca30, ae2cf0bee8.
This commit is contained in:
gjeusel
2017-11-04 11:48:38 +01:00
committed by Orivej Desh
parent 7ef982a1df
commit dccdfca809

View File

@@ -2,25 +2,32 @@
python2Packages.buildPythonApplication rec {
name = "tortoisehg-${version}";
version = "4.1.1";
version = "4.3.1";
src = fetchurl {
url = "https://bitbucket.org/tortoisehg/targz/downloads/${name}.tar.gz";
sha256 = "14fy5p5hx4iij5kyma9679nrprd9lsjr6j047bfyfrwa3l4knj2g";
sha256 = "0lxppjdqjmwl5y8fmp2am0my7a3mks811yg4fff7cx0569hdp62n";
};
pythonPath = with python2Packages; [ pyqt4 mercurial qscintilla iniparse ];
propagatedBuildInputs = with python2Packages; [ qscintilla iniparse ];
doCheck = false;
doCheck = true;
dontStrip = true;
buildPhase = "";
installPhase = ''
${python2Packages.python.executable} setup.py install --prefix=$out
mkdir -p $out/share/doc/tortoisehg
cp COPYING.txt $out/share/doc/tortoisehg/Copying.txt.gz
ln -s $out/bin/thg $out/bin/tortoisehg #convenient alias
'';
checkPhase = ''
echo "test: thg version"
$out/bin/thg version
'';
meta = {
description = "Qt based graphical tool for working with Mercurial";
homepage = http://tortoisehg.bitbucket.org/;