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