Python: fixup modules that were removed

This commit is contained in:
Frederik Rietdijk
2016-10-13 22:11:30 +02:00
parent 56a49e6cda
commit efb6052f40
7 changed files with 20 additions and 24 deletions

View File

@@ -6,7 +6,7 @@ let
# if you bump version, update pkgs.tortoisehg too or ping maintainer
version = "3.9.1";
name = "mercurial-${version}";
inherit (python2Packages) curses docutils hg-git dulwich python;
inherit (python2Packages) docutils hg-git dulwich python;
in
stdenv.mkDerivation {
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
};
inherit python; # pass it so that the same version can be used in hg2git
pythonPackages = [ curses ];
buildInputs = [ python makeWrapper docutils unzip ];
@@ -43,7 +42,7 @@ stdenv.mkDerivation {
''
for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \
--prefix PYTHONPATH : "$(toPythonPath "$out ${curses}"):$(toPythonPath "$out ${hg-git}"):$(toPythonPath "$out ${dulwich}")" \
--prefix PYTHONPATH : "$(toPythonPath "$out ${hg-git}"):$(toPythonPath "$out ${dulwich}")" \
$WRAP_TK
done