Python: fixup modules that were removed

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