Python: fixup modules that were removed

+20 -24
+1 -1
pkgs/applications/audio/gpodder/default.nix
··· 30 ]; 31 32 propagatedBuildInputs = with pythonPackages; [ 33 - feedparser dbus-python mygpoclient sqlite3 pygtk eyeD3 34 ] ++ stdenv.lib.optional ipodSupport libgpod; 35 36 checkPhase = ''
··· 30 ]; 31 32 propagatedBuildInputs = with pythonPackages; [ 33 + feedparser dbus-python mygpoclient pygtk eyeD3 34 ] ++ stdenv.lib.optional ipodSupport libgpod; 35 36 checkPhase = ''
+5 -3
pkgs/applications/office/scribus/default.nix
··· 1 { stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2 2 - , libart_lgpl, qt4, pythonFull, cups, fontconfig, libjpeg 3 , zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake }: 4 5 - stdenv.mkDerivation rec { 6 name = "scribus-1.4.6"; 7 8 src = fetchurl { ··· 14 15 buildInputs = with xorg; 16 [ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4 17 - pythonFull cups fontconfig 18 libjpeg zlib libpng podofo aspell cairo 19 boost # for internal 2geom library 20 libXaw libXext libX11 libXtst libXi libXinerama
··· 1 { stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2 2 + , libart_lgpl, qt4, python, cups, fontconfig, libjpeg 3 , zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake }: 4 5 + let 6 + pythonEnv = python.withPackages(ps: [ps.tkinter]); 7 + in stdenv.mkDerivation rec { 8 name = "scribus-1.4.6"; 9 10 src = fetchurl { ··· 16 17 buildInputs = with xorg; 18 [ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4 19 + pythonEnv cups fontconfig 20 libjpeg zlib libpng podofo aspell cairo 21 boost # for internal 2geom library 22 libXaw libXext libX11 libXtst libXi libXinerama
+2 -3
pkgs/applications/version-management/mercurial/default.nix
··· 6 # if you bump version, update pkgs.tortoisehg too or ping maintainer 7 version = "3.9.1"; 8 name = "mercurial-${version}"; 9 - inherit (python2Packages) curses docutils hg-git dulwich python; 10 in 11 12 stdenv.mkDerivation { ··· 18 }; 19 20 inherit python; # pass it so that the same version can be used in hg2git 21 - pythonPackages = [ curses ]; 22 23 buildInputs = [ python makeWrapper docutils unzip ]; 24 ··· 43 '' 44 for i in $(cd $out/bin && ls); do 45 wrapProgram $out/bin/$i \ 46 - --prefix PYTHONPATH : "$(toPythonPath "$out ${curses}"):$(toPythonPath "$out ${hg-git}"):$(toPythonPath "$out ${dulwich}")" \ 47 $WRAP_TK 48 done 49
··· 6 # if you bump version, update pkgs.tortoisehg too or ping maintainer 7 version = "3.9.1"; 8 name = "mercurial-${version}"; 9 + inherit (python2Packages) docutils hg-git dulwich python; 10 in 11 12 stdenv.mkDerivation { ··· 18 }; 19 20 inherit python; # pass it so that the same version can be used in hg2git 21 22 buildInputs = [ python makeWrapper docutils unzip ]; 23 ··· 42 '' 43 for i in $(cd $out/bin && ls); do 44 wrapProgram $out/bin/$i \ 45 + --prefix PYTHONPATH : "$(toPythonPath "$out ${hg-git}"):$(toPythonPath "$out ${dulwich}")" \ 46 $WRAP_TK 47 done 48
+2 -2
pkgs/games/privateer/default.nix
··· 1 { stdenv, fetchsvn, boost, cmake, ffmpeg, freeglut, glib, 2 gtk2, libjpeg, libpng, libpthreadstubs, libvorbis, libXau, libXdmcp, 3 - libXmu, mesa, openal, pixman, pkgconfig, python27Full, SDL }: 4 5 stdenv.mkDerivation { 6 name = "privateer-1.03"; ··· 15 buildInputs = 16 [ boost cmake ffmpeg freeglut glib gtk2 libjpeg libpng 17 libpthreadstubs libvorbis libXau libXdmcp libXmu mesa openal 18 - pixman pkgconfig python27Full SDL ]; 19 20 patches = [ ./0001-fix-VSFile-constructor.patch ]; 21
··· 1 { stdenv, fetchsvn, boost, cmake, ffmpeg, freeglut, glib, 2 gtk2, libjpeg, libpng, libpthreadstubs, libvorbis, libXau, libXdmcp, 3 + libXmu, mesa, openal, pixman, pkgconfig, python27, SDL }: 4 5 stdenv.mkDerivation { 6 name = "privateer-1.03"; ··· 15 buildInputs = 16 [ boost cmake ffmpeg freeglut glib gtk2 libjpeg libpng 17 libpthreadstubs libvorbis libXau libXdmcp libXmu mesa openal 18 + pixman pkgconfig python27 SDL ]; 19 20 patches = [ ./0001-fix-VSFile-constructor.patch ]; 21
+2 -2
pkgs/tools/misc/fpp/default.nix
··· 1 - { stdenv, fetchFromGitHub, python27Full }: 2 3 stdenv.mkDerivation rec { 4 name = "fpp-${version}"; ··· 12 }; 13 14 postPatch = '' 15 - substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27Full.interpreter}"' 16 ''; 17 18 installPhase = ''
··· 1 + { stdenv, fetchFromGitHub, python27 }: 2 3 stdenv.mkDerivation rec { 4 name = "fpp-${version}"; ··· 12 }; 13 14 postPatch = '' 15 + substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27.interpreter}"' 16 ''; 17 18 installPhase = ''
+1 -3
pkgs/top-level/all-packages.nix
··· 4396 4397 es = callPackage ../shells/es { }; 4398 4399 - fish = callPackage ../shells/fish { 4400 - python = python27Full; 4401 - }; 4402 4403 fish-foreign-env = callPackage ../shells/fish-foreign-env { }; 4404
··· 4396 4397 es = callPackage ../shells/es { }; 4398 4399 + fish = callPackage ../shells/fish { }; 4400 4401 fish-foreign-env = callPackage ../shells/fish-foreign-env { }; 4402
+7 -10
pkgs/top-level/python-packages.nix
··· 1492 url = "mirror://pypi/a/aws-shell/aws-shell-${version}.tar.gz"; 1493 }; 1494 propagatedBuildInputs = with self; [ 1495 - configobj prompt_toolkit awscli boto3 pygments sqlite3 mock pytest 1496 pytestcov unittest2 tox 1497 ]; 1498 ··· 2586 sha256 = "1j4f51dxic39mdwf6alj7gd769wy6mhk916v031wjali51xkh3xb"; 2587 }; 2588 2589 - buildInputs = with self; [ hypothesis sqlite3 ]; 2590 2591 propagatedBuildInputs = with self; [ chardet ]; 2592 ··· 5426 sha256 = "671969d00719fa3e80476b128dc9232025926884d0110d4d235abdd9c3508fc0"; 5427 }; 5428 5429 - buildInputs = with self; [ mock sqlite3 ]; 5430 5431 propagatedBuildInputs = with self; [ self.six requests2 ]; 5432 ··· 9735 doCheck = false; 9736 9737 # Requires Django >= 1.8 9738 - buildInputs = with self ; [ sqlite3 django ]; 9739 9740 meta = { 9741 description = "Django extension that provides database and form color fields"; ··· 9834 sha256 = "1m7y3brk3697hr2cvkzl8dry4pp7wkmhvxmf8db1ardz1r9d8895"; 9835 }; 9836 9837 - buildInputs = with self ; [ pytestrunner pytestdjango django_environ mock sqlite3 ]; 9838 propagatedBuildInputs = with self ; [ django six ]; 9839 9840 checkPhase = '' ··· 12497 12498 propagatedBuildInputs = with self; 12499 [ backports_shutil_get_terminal_size decorator pickleshare prompt_toolkit 12500 - simplegeneric traitlets requests2 pathlib2 pexpect sqlite3 ] 12501 ++ optionals stdenv.isDarwin [appnope]; 12502 12503 LC_ALL="en_US.UTF-8"; ··· 13663 dateutil 13664 colorama 13665 six 13666 - 13667 - readline 13668 - sqlite3 13669 ]; 13670 13671 meta = { ··· 18954 18955 disabled = isPy3k || isPyPy; 18956 18957 - propagatedBuildInputs = with self; [ sqlite3 vobject lxml requests urwid pyxdg ]; 18958 18959 meta = { 18960 description = "Command-line interface carddav client";
··· 1492 url = "mirror://pypi/a/aws-shell/aws-shell-${version}.tar.gz"; 1493 }; 1494 propagatedBuildInputs = with self; [ 1495 + configobj prompt_toolkit awscli boto3 pygments mock pytest 1496 pytestcov unittest2 tox 1497 ]; 1498 ··· 2586 sha256 = "1j4f51dxic39mdwf6alj7gd769wy6mhk916v031wjali51xkh3xb"; 2587 }; 2588 2589 + buildInputs = with self; [ hypothesis ]; 2590 2591 propagatedBuildInputs = with self; [ chardet ]; 2592 ··· 5426 sha256 = "671969d00719fa3e80476b128dc9232025926884d0110d4d235abdd9c3508fc0"; 5427 }; 5428 5429 + buildInputs = with self; [ mock ]; 5430 5431 propagatedBuildInputs = with self; [ self.six requests2 ]; 5432 ··· 9735 doCheck = false; 9736 9737 # Requires Django >= 1.8 9738 + buildInputs = with self; [ django ]; 9739 9740 meta = { 9741 description = "Django extension that provides database and form color fields"; ··· 9834 sha256 = "1m7y3brk3697hr2cvkzl8dry4pp7wkmhvxmf8db1ardz1r9d8895"; 9835 }; 9836 9837 + buildInputs = with self ; [ pytestrunner pytestdjango django_environ mock ]; 9838 propagatedBuildInputs = with self ; [ django six ]; 9839 9840 checkPhase = '' ··· 12497 12498 propagatedBuildInputs = with self; 12499 [ backports_shutil_get_terminal_size decorator pickleshare prompt_toolkit 12500 + simplegeneric traitlets requests2 pathlib2 pexpect ] 12501 ++ optionals stdenv.isDarwin [appnope]; 12502 12503 LC_ALL="en_US.UTF-8"; ··· 13663 dateutil 13664 colorama 13665 six 13666 ]; 13667 13668 meta = { ··· 18951 18952 disabled = isPy3k || isPyPy; 18953 18954 + propagatedBuildInputs = with self; [ vobject lxml requests urwid pyxdg ]; 18955 18956 meta = { 18957 description = "Command-line interface carddav client";