git.iko.soy/typeable/nixpkgs
on master help sign in
Python: fixup modules that were removed
commitefb6052f40f140aded8553aae93caa2ff35d8a7c authorFrederik Rietdijk <fridh@fridh.nl> dateThu 13 Oct 2016, 22:11 (10 years ago) parent56a49e6
7 files changed+20−24
pkgs/applications/audio/gpodder/default.nix+1−1 pkgs/applications/office/scribus/default.nix+5−3 pkgs/applications/version-management/mercurial/default.nix+2−3 pkgs/games/privateer/default.nix+2−2 pkgs/tools/misc/fpp/default.nix+2−2 pkgs/top-level/all-packages.nix+1−3 pkgs/top-level/python-packages.nix+7−10
pkgs/applications/audio/gpodder/default.nix+1−1
@@ -30,7 +30,7 @@ pythonPackages.buildPythonApplication rec {
3030 ];
3131
3232 propagatedBuildInputs = with pythonPackages; [
33− feedparser dbus-python mygpoclient sqlite3 pygtk eyeD3
33+ feedparser dbus-python mygpoclient pygtk eyeD3
3434 ] ++ stdenv.lib.optional ipodSupport libgpod;
3535
3636 checkPhase = ''
pkgs/applications/office/scribus/default.nix+5−3
@@ -1,8 +1,10 @@
11{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
2−, libart_lgpl, qt4, pythonFull, cups, fontconfig, libjpeg
2+, libart_lgpl, qt4, python, cups, fontconfig, libjpeg
33, zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake }:
44
5−stdenv.mkDerivation rec {
5+let
6+ pythonEnv = python.withPackages(ps: [ps.tkinter]);
7+in stdenv.mkDerivation rec {
68 name = "scribus-1.4.6";
79
810 src = fetchurl {
@@ -14,7 +16,7 @@ stdenv.mkDerivation rec {
1416
1517 buildInputs = with xorg;
1618 [ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4
17− pythonFull cups fontconfig
19+ pythonEnv cups fontconfig
1820 libjpeg zlib libpng podofo aspell cairo
1921 boost # for internal 2geom library
2022 libXaw libXext libX11 libXtst libXi libXinerama
pkgs/applications/version-management/mercurial/default.nix+2−3
@@ -6,7 +6,7 @@ let
66 # if you bump version, update pkgs.tortoisehg too or ping maintainer
77 version = "3.9.1";
88 name = "mercurial-${version}";
9− inherit (python2Packages) curses docutils hg-git dulwich python;
9+ inherit (python2Packages) docutils hg-git dulwich python;
1010in
1111
1212stdenv.mkDerivation {
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
1818 };
1919
2020 inherit python; # pass it so that the same version can be used in hg2git
21− pythonPackages = [ curses ];
2221
2322 buildInputs = [ python makeWrapper docutils unzip ];
2423
@@ -43,7 +42,7 @@ stdenv.mkDerivation {
4342 ''
4443 for i in $(cd $out/bin && ls); do
4544 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}")" \
4746 $WRAP_TK
4847 done
4948
pkgs/games/privateer/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchsvn, boost, cmake, ffmpeg, freeglut, glib,
22 gtk2, libjpeg, libpng, libpthreadstubs, libvorbis, libXau, libXdmcp,
3− libXmu, mesa, openal, pixman, pkgconfig, python27Full, SDL }:
3+ libXmu, mesa, openal, pixman, pkgconfig, python27, SDL }:
44
55stdenv.mkDerivation {
66 name = "privateer-1.03";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 buildInputs =
1616 [ boost cmake ffmpeg freeglut glib gtk2 libjpeg libpng
1717 libpthreadstubs libvorbis libXau libXdmcp libXmu mesa openal
18− pixman pkgconfig python27Full SDL ];
18+ pixman pkgconfig python27 SDL ];
1919
2020 patches = [ ./0001-fix-VSFile-constructor.patch ];
2121
pkgs/tools/misc/fpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python27Full }:
1+{ stdenv, fetchFromGitHub, python27 }:
22
33stdenv.mkDerivation rec {
44 name = "fpp-${version}";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 postPatch = ''
15− substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27Full.interpreter}"'
15+ substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27.interpreter}"'
1616 '';
1717
1818 installPhase = ''
pkgs/top-level/all-packages.nix+1−3
@@ -4396,9 +4396,7 @@ in
43964396
43974397 es = callPackage ../shells/es { };
43984398
4399− fish = callPackage ../shells/fish {
4400− python = python27Full;
4401− };
4399+ fish = callPackage ../shells/fish { };
44024400
44034401 fish-foreign-env = callPackage ../shells/fish-foreign-env { };
44044402
pkgs/top-level/python-packages.nix+7−10
@@ -1492,7 +1492,7 @@ in {
14921492 url = "mirror://pypi/a/aws-shell/aws-shell-${version}.tar.gz";
14931493 };
14941494 propagatedBuildInputs = with self; [
1495− configobj prompt_toolkit awscli boto3 pygments sqlite3 mock pytest
1495+ configobj prompt_toolkit awscli boto3 pygments mock pytest
14961496 pytestcov unittest2 tox
14971497 ];
14981498
@@ -2586,7 +2586,7 @@ in {
25862586 sha256 = "1j4f51dxic39mdwf6alj7gd769wy6mhk916v031wjali51xkh3xb";
25872587 };
25882588
2589− buildInputs = with self; [ hypothesis sqlite3 ];
2589+ buildInputs = with self; [ hypothesis ];
25902590
25912591 propagatedBuildInputs = with self; [ chardet ];
25922592
@@ -5426,7 +5426,7 @@ in {
54265426 sha256 = "671969d00719fa3e80476b128dc9232025926884d0110d4d235abdd9c3508fc0";
54275427 };
54285428
5429− buildInputs = with self; [ mock sqlite3 ];
5429+ buildInputs = with self; [ mock ];
54305430
54315431 propagatedBuildInputs = with self; [ self.six requests2 ];
54325432
@@ -9735,7 +9735,7 @@ in {
97359735 doCheck = false;
97369736
97379737 # Requires Django >= 1.8
9738− buildInputs = with self ; [ sqlite3 django ];
9738+ buildInputs = with self; [ django ];
97399739
97409740 meta = {
97419741 description = "Django extension that provides database and form color fields";
@@ -9834,7 +9834,7 @@ in {
98349834 sha256 = "1m7y3brk3697hr2cvkzl8dry4pp7wkmhvxmf8db1ardz1r9d8895";
98359835 };
98369836
9837− buildInputs = with self ; [ pytestrunner pytestdjango django_environ mock sqlite3 ];
9837+ buildInputs = with self ; [ pytestrunner pytestdjango django_environ mock ];
98389838 propagatedBuildInputs = with self ; [ django six ];
98399839
98409840 checkPhase = ''
@@ -12497,7 +12497,7 @@ in {
1249712497
1249812498 propagatedBuildInputs = with self;
1249912499 [ backports_shutil_get_terminal_size decorator pickleshare prompt_toolkit
12500− simplegeneric traitlets requests2 pathlib2 pexpect sqlite3 ]
12500+ simplegeneric traitlets requests2 pathlib2 pexpect ]
1250112501 ++ optionals stdenv.isDarwin [appnope];
1250212502
1250312503 LC_ALL="en_US.UTF-8";
@@ -13663,9 +13663,6 @@ in {
1366313663 dateutil
1366413664 colorama
1366513665 six
13666−
13667− readline
13668− sqlite3
1366913666 ];
1367013667
1367113668 meta = {
@@ -18954,7 +18951,7 @@ in {
1895418951
1895518952 disabled = isPy3k || isPyPy;
1895618953
18957− propagatedBuildInputs = with self; [ sqlite3 vobject lxml requests urwid pyxdg ];
18954+ propagatedBuildInputs = with self; [ vobject lxml requests urwid pyxdg ];
1895818955
1895918956 meta = {
1896018957 description = "Command-line interface carddav client";