mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Python: more evaluation fixups.
This commit is contained in:
parent
efb6052f40
commit
6eeea6effd
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite pkgconfig cairo
|
||||
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.client blas ]
|
||||
++ (with pythonPackages; [ python dateutil wxPython30 numpy sqlite3 ]);
|
||||
++ (with pythonPackages; [ python dateutil wxPython30 numpy ]);
|
||||
|
||||
configureFlags = [
|
||||
"--with-proj-share=${proj}/share/proj"
|
||||
|
@ -9,7 +9,7 @@ python27Packages.buildPythonApplication rec {
|
||||
sha256 = "0fzsf9pklhfs1rzwzj64c0v30b74nk94p93h371rpg45qnfiahvy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python27Packages; [ pygtk pillow sqlite3 ];
|
||||
propagatedBuildInputs = with python27Packages; [ pygtk pillow ];
|
||||
|
||||
meta = {
|
||||
description = "Image viewer designed to handle comic books";
|
||||
|
@ -22,7 +22,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
substituteInPlace $out/bin/bleachbit --replace "#!/usr/bin/env python" "#!${pythonPackages.python.interpreter}"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ pygtk sqlite3 ];
|
||||
propagatedBuildInputs = with pythonPackages; [ pygtk ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://bleachbit.sourceforge.net";
|
||||
|
@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
|
||||
python pyqt5 sip poppler_utils libpng imagemagick libjpeg
|
||||
fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils
|
||||
] ++ (with pythonPackages; [
|
||||
apsw beautifulsoup cssselect cssutils dateutil lxml mechanize netifaces pillow sqlite3
|
||||
apsw beautifulsoup cssselect cssutils dateutil lxml mechanize netifaces pillow
|
||||
# the following are distributed with calibre, but we use upstream instead
|
||||
chardet cherrypy html5lib odfpy routes
|
||||
]);
|
||||
|
@ -11,9 +11,6 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "45f1cee4067598cf2ca8ae6f89d03789b86f9e3bf196236119868653420d7cdd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages;
|
||||
[ sqlite3 ];
|
||||
|
||||
buildInputs = with pythonPackages;
|
||||
[ python gettext wrapPython pygtk dbus-python pygtksourceview ];
|
||||
|
||||
|
@ -17,7 +17,7 @@ in buildPythonApplication rec {
|
||||
sha256 = "0jdps7yx2mlma1hdj64wssvnqd824xdvw0bmn2dnal5fn3h7h060";
|
||||
};
|
||||
|
||||
pythonPath = with pythonPackages; [ pygobject3 pycairo bsddb ] ++ [ pango ];
|
||||
pythonPath = with pythonPackages; [ pygobject3 pycairo ] ++ [ pango ];
|
||||
|
||||
# Same installPhase as in buildPythonApplication but without --old-and-unmanageble
|
||||
# install flag.
|
||||
|
@ -21,7 +21,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
docbook2x libxslt gnome_doc_utils intltool dbus_glib hicolor_icon_theme
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ pygobject2 pygtk pyxdg gnome_python dbus-python sqlite3 ];
|
||||
propagatedBuildInputs = with pythonPackages; [ pygobject2 pygtk pyxdg gnome_python dbus-python ];
|
||||
|
||||
configurePhase = ''
|
||||
python waf configure --prefix="$out"
|
||||
|
@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
# Fix up python path so the lockfile library is on it.
|
||||
PYTHONPATH = stdenv.lib.makeSearchPathOutput "lib" python.sitePackages [
|
||||
pythonPackages.curses pythonPackages.lockfile
|
||||
pythonPackages.lockfile
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pythonPackages.pygobject2 pythonPackages.pyGtkGlade
|
||||
pythonPackages.sqlite3 pythonPackages.pyasn1
|
||||
pythonPackages.pyasn1
|
||||
pythonPackages.pyxdg
|
||||
pythonPackages.nbxmpp
|
||||
pythonPackages.pyopenssl pythonPackages.dbus-python
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1f4h0yc1mfjnxzvxiv9hxgak59mgr3a5ykv50vlyiay82za20jax";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [ python pyqt4 wrapPython sqlite3 ] ++ [ openssl ];
|
||||
buildInputs = with pythonPackages; [ python pyqt4 wrapPython ] ++ [ openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
|
@ -10,7 +10,6 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [ python wrapPython ];
|
||||
pythonPath = [ pythonPackages.curses ];
|
||||
|
||||
installPhase = ''
|
||||
install -D transmission-remote-cli $out/bin/transmission-remote-cli
|
||||
|
@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
|
||||
pythonPath = [
|
||||
libtorrentRasterbar
|
||||
pythonPackages.wxPython
|
||||
pythonPackages.curses
|
||||
pythonPackages.apsw
|
||||
pythonPackages.twisted
|
||||
pythonPackages.gmpy
|
||||
@ -32,7 +31,6 @@ stdenv.mkDerivation rec {
|
||||
pythonPackages.requests
|
||||
pythonPackages.setuptools
|
||||
pythonPackages.m2crypto
|
||||
pythonPackages.sqlite3
|
||||
];
|
||||
|
||||
installPhase =
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "09xdsskk5rc3xsf1v1vq7nkdxrxy8w2fixx2vdv8c97ak6a4hrca";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ python readline ];
|
||||
propagatedBuildInputs = with python3Packages; [ python ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
|
@ -9,7 +9,7 @@ pythonPackages.buildPythonApplication {
|
||||
sha256 = "0nhkkv1n0lqf3zn17pxg5cgryv1wwlj4hfmhixwd76rcy8gs45dh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ sqlite3 pyGtkGlade ];
|
||||
propagatedBuildInputs = with pythonPackages; [ pyGtkGlade ];
|
||||
|
||||
# Testing fails.
|
||||
doCheck = false;
|
||||
|
@ -17,7 +17,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "15pdq4fxag85qjsrdmmssiq85qsk5vnbp8mrqnpvx8lm8crz6hjl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ sqlite3 pyGtkGlade pyxdg pygobject2 ];
|
||||
propagatedBuildInputs = with pythonPackages; [ pyGtkGlade pyxdg pygobject2 ];
|
||||
|
||||
preBuild = ''
|
||||
export HOME=$TMP
|
||||
|
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
mv *.py $l
|
||||
for p in $out/bin/*.sh; do
|
||||
wrapProgram $p \
|
||||
--prefix PYTHONPATH : "$(echo ${mercurial}/lib/python*/site-packages):$(echo ${mercurial.python}/lib/python*/site-packages)${stdenv.lib.concatMapStrings (x: ":$(echo ${x}/lib/python*/site-packages)") mercurial.pythonPackages}" \
|
||||
--prefix PYTHONPATH : "$(echo ${mercurial}/lib/python*/site-packages):$(echo ${mercurial.python}/lib/python*/site-packages)${stdenv.lib.concatMapStrings (x: ":$(echo ${x}/lib/python*/site-packages)") mercurial.pythonPackages or []}" \
|
||||
--prefix PATH : "$(dirname $(type -p python))":$l
|
||||
done
|
||||
'';
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/git-remote-hg \
|
||||
--prefix PYTHONPATH : "$(echo ${mercurial}/lib/python*/site-packages):$(echo ${mercurial.python}/lib/python*/site-packages)${stdenv.lib.concatMapStrings (x: ":$(echo ${x}/lib/python*/site-packages)") mercurial.pythonPackages}"
|
||||
--prefix PYTHONPATH : "$(echo ${mercurial}/lib/python*/site-packages):$(echo ${mercurial.python}/lib/python*/site-packages)${stdenv.lib.concatMapStrings (x: ":$(echo ${x}/lib/python*/site-packages)") mercurial.pythonPackages or []}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -75,7 +75,7 @@ in buildPythonApplication rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
pygobject2 pygtk pycurl sqlite3 mutagen pycairo dbus-python
|
||||
pygobject2 pygtk pycurl mutagen pycairo dbus-python
|
||||
pywebkitgtk] ++ [ libtorrentRasterbar
|
||||
gst_python gst_plugins_base gst_plugins_good gst_ffmpeg
|
||||
] ++ optional enableBonjour avahi;
|
||||
|
@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
|
||||
gst-plugins-base gst-plugins-good
|
||||
gst-plugins-bad gst-plugins-ugly gst-libav gst-validate
|
||||
]) ++ (with python3Packages; [
|
||||
python pygobject3 gst-python pyxdg numpy pycairo sqlite3 matplotlib
|
||||
python pygobject3 gst-python pyxdg numpy pycairo matplotlib
|
||||
dbus-python
|
||||
]);
|
||||
|
||||
|
@ -20,7 +20,7 @@ buildPythonApplication rec {
|
||||
propagatedBuildInputs =
|
||||
[ eventlet greenlet gflags netaddr carrot routes
|
||||
PasteDeploy m2crypto ipy twisted
|
||||
distutils_extra simplejson readline glanceclient cheetah lockfile httplib2
|
||||
distutils_extra simplejson glanceclient cheetah lockfile httplib2
|
||||
urlgrabber virtinst pyGtkGlade dbus-python gnome_python pygobject3
|
||||
libvirt libxml2Python ipaddr vte libosinfo gobjectIntrospection gtk3 mox
|
||||
gtkvnc libvirt-glib glib gsettings_desktop_schemas gnome3.defaultIconTheme
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
pythonPath = with pythonPackages;
|
||||
[ setuptools eventlet greenlet gflags netaddr carrot routes
|
||||
PasteDeploy m2crypto ipy twisted
|
||||
distutils_extra simplejson readline glanceclient cheetah lockfile httplib2
|
||||
distutils_extra simplejson glanceclient cheetah lockfile httplib2
|
||||
# !!! should libvirt be a build-time dependency? Note that
|
||||
# libxml2Python is a dependency of libvirt.py.
|
||||
libvirt libxml2Python urlgrabber
|
||||
|
@ -46,8 +46,6 @@ stdenv.mkDerivation {
|
||||
alsaLib quilt
|
||||
];
|
||||
|
||||
pythonPath = [ pythonPackages.curses ];
|
||||
|
||||
hardeningDisable = [ "stackprotector" "fortify" "pic" ];
|
||||
|
||||
patches = stdenv.lib.optionals ((xenserverPatched == false) && (builtins.hasAttr "xenPatches" xenConfig)) xenConfig.xenPatches;
|
||||
|
@ -31,7 +31,7 @@ python27Packages.buildPythonApplication rec {
|
||||
|
||||
buildInputs = [ pkgconfig glib libxcb cairo pango python27Packages.xcffib ];
|
||||
|
||||
pythonPath = with python27Packages; [ xcffib cairocffi-xcffib trollius readline];
|
||||
pythonPath = with python27Packages; [ xcffib cairocffi-xcffib trollius ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/qtile \
|
||||
|
@ -14,7 +14,6 @@ in pythonPackages.buildPythonApplication rec {
|
||||
pyqt4
|
||||
matplotlib
|
||||
cherrypy
|
||||
sqlite3
|
||||
webob
|
||||
];
|
||||
preConfigure = ''
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, pythonPackages, gettext, texinfo
|
||||
, ghostscript, pysqlite, librsvg, gdk_pixbuf, txt2man, timidity, mpg123
|
||||
, ghostscript, librsvg, gdk_pixbuf, txt2man, timidity, mpg123
|
||||
, alsaUtils, vorbis-tools, csound, lilypond
|
||||
, makeWrapper
|
||||
}:
|
||||
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig python pygtk gettext texinfo
|
||||
ghostscript pysqlite librsvg gdk_pixbuf txt2man makeWrapper
|
||||
ghostscript librsvg gdk_pixbuf txt2man makeWrapper
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
|
@ -82,7 +82,6 @@ let
|
||||
buildInputs = [
|
||||
perl
|
||||
pythonPackages.python
|
||||
pythonPackages.readline
|
||||
libapparmor
|
||||
libapparmor.python
|
||||
];
|
||||
|
@ -8,8 +8,6 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "0nzprs6zqax0cwq8h7hnszdl3d2m4c2d4vjfxfxbnjfs9sia5pis";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages.curses ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
|
@ -9,7 +9,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "0jvzxr8r6cy6ipknkw95qf8rz69nqdv5nky87h1vcp5pf8mgza1h";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ pygments requests2 curses ];
|
||||
propagatedBuildInputs = with pythonPackages; [ pygments requests2 ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, sqlite3 }:
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
version = "7.0.6";
|
||||
@ -14,7 +14,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ sqlite3 pythonPackages.six ];
|
||||
propagatedBuildInputs = [ pythonPackages.six ];
|
||||
|
||||
meta = {
|
||||
description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers";
|
||||
|
@ -34,7 +34,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
# The `backup' command requires `sqlite3'.
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
twisted foolscap nevow simplejson zfec pycryptopp sqlite3 darcsver
|
||||
twisted foolscap nevow simplejson zfec pycryptopp darcsver
|
||||
setuptoolsTrial setuptoolsDarcs pycrypto pyasn1 zope_interface
|
||||
service-identity
|
||||
];
|
||||
|
@ -46,7 +46,7 @@ in stdenv.mkDerivation rec {
|
||||
sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-cli.in
|
||||
sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject2}):$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-cli.in
|
||||
sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-curses.in
|
||||
sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject2}):$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python}):$(toPythonPath ${pythonPackages.urwid}):$(toPythonPath ${pythonPackages.curses})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-curses.in
|
||||
sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject2}):$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python}):$(toPythonPath ${pythonPackages.urwid})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-curses.in
|
||||
rm po/ast.po
|
||||
'';
|
||||
|
||||
|
@ -14,7 +14,6 @@ pythonPackages.buildPythonApplication {
|
||||
pythonPath =
|
||||
[ pythonPackages.prettytable
|
||||
pythonPackages.boto
|
||||
pythonPackages.sqlite3
|
||||
pythonPackages.hetzner
|
||||
pythonPackages.libcloud
|
||||
pythonPackages.azure-storage
|
||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
cp -R src/TorCtl $out/libexec
|
||||
|
||||
wrapProgram $out/bin/arm \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${pythonPackages.curses}):$out/libexec:$PYTHONPATH" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$out/libexec:$PYTHONPATH" \
|
||||
--set TERMINFO "${ncurses.out}/share/terminfo" \
|
||||
--set TERM "xterm"
|
||||
'';
|
||||
|
@ -2955,9 +2955,7 @@ in
|
||||
|
||||
odt2txt = callPackage ../tools/text/odt2txt { };
|
||||
|
||||
offlineimap = callPackage ../tools/networking/offlineimap {
|
||||
inherit (pythonPackages) sqlite3;
|
||||
};
|
||||
offlineimap = callPackage ../tools/networking/offlineimap { };
|
||||
|
||||
oh-my-zsh = callPackage ../shells/oh-my-zsh { };
|
||||
|
||||
@ -16918,9 +16916,7 @@ in
|
||||
|
||||
nut = callPackage ../applications/misc/nut { };
|
||||
|
||||
solfege = callPackage ../misc/solfege {
|
||||
pysqlite = pkgs.pythonPackages.sqlite3;
|
||||
};
|
||||
solfege = callPackage ../misc/solfege { };
|
||||
|
||||
disnix = callPackage ../tools/package-management/disnix { };
|
||||
|
||||
|
@ -901,7 +901,7 @@ in {
|
||||
windowsSupport = true;
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pycrypto paramiko jinja2 pyyaml httplib2 boto six readline
|
||||
pycrypto paramiko jinja2 pyyaml httplib2 boto six
|
||||
] ++ optional windowsSupport pywinrm;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@ -6794,7 +6794,7 @@ in {
|
||||
repo = "GateOne";
|
||||
sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
|
||||
};
|
||||
propagatedBuildInputs = with self; [tornado futures html5lib readline pkgs.openssl pkgs.cacert pkgs.openssh];
|
||||
propagatedBuildInputs = with self; [tornado futures html5lib pkgs.openssl pkgs.cacert pkgs.openssh];
|
||||
meta = {
|
||||
homepage = https://liftoffsoftware.com/;
|
||||
description = "GateOne is a web-based terminal emulator and SSH client";
|
||||
@ -15689,7 +15689,7 @@ in {
|
||||
sha256 = "1v49sym6mrci9dxy0a7cpbp4bv6fg2ijj6rwk4wzg18c2x4qzkhn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ curses livestreamer ];
|
||||
propagatedBuildInputs = with self; [ livestreamer ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/gapato/livestreamer-curses;
|
||||
@ -21931,7 +21931,7 @@ in {
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = with self; [ pkgs.root readline numpy matplotlib ];
|
||||
propagatedBuildInputs = with self; [ pkgs.root numpy matplotlib ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.rootpy.org";
|
||||
@ -22003,7 +22003,7 @@ in {
|
||||
url = "mirror://pypi/r/ropper/${name}.tar.gz";
|
||||
sha256 = "1676e07947a19df9d17002307a7555c2647a4224d6f2869949e8fc4bd18f2e87";
|
||||
};
|
||||
propagatedBuildInputs = with self; [ capstone filebytes readline ];
|
||||
propagatedBuildInputs = with self; [ capstone filebytes ];
|
||||
meta = with pkgs.stdenv.lib; {
|
||||
homepage = "https://scoding.de/ropper/";
|
||||
license = licenses.gpl2;
|
||||
|
Loading…
Reference in New Issue
Block a user