tortoisehg: check imports

This could have prevented #32245.
This commit is contained in:
Orivej Desh 2017-12-02 11:31:29 +00:00
parent 0017479abb
commit ae2cf0bee8

View File

@ -13,7 +13,7 @@ python2Packages.buildPythonApplication rec {
propagatedBuildInputs = with python2Packages; [ qscintilla iniparse ];
doCheck = false;
doCheck = true;
dontStrip = true;
buildPhase = "";
installPhase = ''
@ -23,6 +23,11 @@ python2Packages.buildPythonApplication rec {
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/;