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

@ -30,7 +30,7 @@ pythonPackages.buildPythonApplication rec {
];
propagatedBuildInputs = with pythonPackages; [
feedparser dbus-python mygpoclient sqlite3 pygtk eyeD3
feedparser dbus-python mygpoclient pygtk eyeD3
] ++ stdenv.lib.optional ipodSupport libgpod;
checkPhase = ''

View file

@ -1,8 +1,10 @@
{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
, libart_lgpl, qt4, pythonFull, cups, fontconfig, libjpeg
, libart_lgpl, qt4, python, cups, fontconfig, libjpeg
, zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake }:
stdenv.mkDerivation rec {
let
pythonEnv = python.withPackages(ps: [ps.tkinter]);
in stdenv.mkDerivation rec {
name = "scribus-1.4.6";
src = fetchurl {
@ -14,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = with xorg;
[ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4
pythonFull cups fontconfig
pythonEnv cups fontconfig
libjpeg zlib libpng podofo aspell cairo
boost # for internal 2geom library
libXaw libXext libX11 libXtst libXi libXinerama

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

View file

@ -1,6 +1,6 @@
{ stdenv, fetchsvn, boost, cmake, ffmpeg, freeglut, glib,
gtk2, libjpeg, libpng, libpthreadstubs, libvorbis, libXau, libXdmcp,
libXmu, mesa, openal, pixman, pkgconfig, python27Full, SDL }:
libXmu, mesa, openal, pixman, pkgconfig, python27, SDL }:
stdenv.mkDerivation {
name = "privateer-1.03";
@ -15,7 +15,7 @@ stdenv.mkDerivation {
buildInputs =
[ boost cmake ffmpeg freeglut glib gtk2 libjpeg libpng
libpthreadstubs libvorbis libXau libXdmcp libXmu mesa openal
pixman pkgconfig python27Full SDL ];
pixman pkgconfig python27 SDL ];
patches = [ ./0001-fix-VSFile-constructor.patch ];

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python27Full }:
{ stdenv, fetchFromGitHub, python27 }:
stdenv.mkDerivation rec {
name = "fpp-${version}";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
postPatch = ''
substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27Full.interpreter}"'
substituteInPlace fpp --replace 'PYTHONCMD="python"' 'PYTHONCMD="${python27.interpreter}"'
'';
installPhase = ''

View file

@ -4396,9 +4396,7 @@ in
es = callPackage ../shells/es { };
fish = callPackage ../shells/fish {
python = python27Full;
};
fish = callPackage ../shells/fish { };
fish-foreign-env = callPackage ../shells/fish-foreign-env { };

View file

@ -1492,7 +1492,7 @@ in {
url = "mirror://pypi/a/aws-shell/aws-shell-${version}.tar.gz";
};
propagatedBuildInputs = with self; [
configobj prompt_toolkit awscli boto3 pygments sqlite3 mock pytest
configobj prompt_toolkit awscli boto3 pygments mock pytest
pytestcov unittest2 tox
];
@ -2586,7 +2586,7 @@ in {
sha256 = "1j4f51dxic39mdwf6alj7gd769wy6mhk916v031wjali51xkh3xb";
};
buildInputs = with self; [ hypothesis sqlite3 ];
buildInputs = with self; [ hypothesis ];
propagatedBuildInputs = with self; [ chardet ];
@ -5426,7 +5426,7 @@ in {
sha256 = "671969d00719fa3e80476b128dc9232025926884d0110d4d235abdd9c3508fc0";
};
buildInputs = with self; [ mock sqlite3 ];
buildInputs = with self; [ mock ];
propagatedBuildInputs = with self; [ self.six requests2 ];
@ -9735,7 +9735,7 @@ in {
doCheck = false;
# Requires Django >= 1.8
buildInputs = with self ; [ sqlite3 django ];
buildInputs = with self; [ django ];
meta = {
description = "Django extension that provides database and form color fields";
@ -9834,7 +9834,7 @@ in {
sha256 = "1m7y3brk3697hr2cvkzl8dry4pp7wkmhvxmf8db1ardz1r9d8895";
};
buildInputs = with self ; [ pytestrunner pytestdjango django_environ mock sqlite3 ];
buildInputs = with self ; [ pytestrunner pytestdjango django_environ mock ];
propagatedBuildInputs = with self ; [ django six ];
checkPhase = ''
@ -12497,7 +12497,7 @@ in {
propagatedBuildInputs = with self;
[ backports_shutil_get_terminal_size decorator pickleshare prompt_toolkit
simplegeneric traitlets requests2 pathlib2 pexpect sqlite3 ]
simplegeneric traitlets requests2 pathlib2 pexpect ]
++ optionals stdenv.isDarwin [appnope];
LC_ALL="en_US.UTF-8";
@ -13663,9 +13663,6 @@ in {
dateutil
colorama
six
readline
sqlite3
];
meta = {
@ -18954,7 +18951,7 @@ in {
disabled = isPy3k || isPyPy;
propagatedBuildInputs = with self; [ sqlite3 vobject lxml requests urwid pyxdg ];
propagatedBuildInputs = with self; [ vobject lxml requests urwid pyxdg ];
meta = {
description = "Command-line interface carddav client";