3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages: remove inherit pkg-config

This commit is contained in:
Sandro Jäckel 2021-03-07 16:49:10 +01:00
parent 61b42c2d0f
commit bdbde521d7
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -589,7 +589,7 @@ in {
withPython = true;
});
av = callPackage ../development/python-modules/av { inherit (pkgs) pkg-config; };
av = callPackage ../development/python-modules/av { };
avea = callPackage ../development/python-modules/avea { };
@ -1674,7 +1674,9 @@ in {
dbus-next = callPackage ../development/python-modules/dbus-next { };
dbus-python = callPackage ../development/python-modules/dbus { inherit (pkgs) dbus pkg-config; };
dbus-python = callPackage ../development/python-modules/dbus {
inherit (pkgs) dbus;
};
dbutils = callPackage ../development/python-modules/dbutils { };
@ -2254,7 +2256,6 @@ in {
callPackage ../development/python-modules/feedparser/5.nix { };
fenics = callPackage ../development/libraries/science/math/fenics {
inherit (pkgs) pkg-config;
pytest = self.pytest_4;
};
@ -2497,7 +2498,9 @@ in {
furl = callPackage ../development/python-modules/furl { };
fuse = callPackage ../development/python-modules/fuse-python { inherit (pkgs) fuse pkg-config; };
fuse = callPackage ../development/python-modules/fuse-python {
inherit (pkgs) fuse;
};
fusepy = callPackage ../development/python-modules/fusepy { };
@ -2790,7 +2793,7 @@ in {
inherit python;
});
gphoto2 = callPackage ../development/python-modules/gphoto2 { inherit (pkgs) pkg-config; };
gphoto2 = callPackage ../development/python-modules/gphoto2 { };
gprof2dot = callPackage ../development/python-modules/gprof2dot { inherit (pkgs) graphviz; };
@ -2830,7 +2833,7 @@ in {
graphql-server-core = callPackage ../development/python-modules/graphql-server-core { };
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { inherit (pkgs) pkg-config; };
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { };
graphtage = callPackage ../development/python-modules/graphtage { };
@ -2875,7 +2878,7 @@ in {
gssapi = callPackage ../development/python-modules/gssapi { inherit (pkgs) darwin krb5Full; };
gst-python = callPackage ../development/python-modules/gst-python {
inherit (pkgs) meson pkg-config;
inherit (pkgs) meson;
gst-plugins-base = pkgs.gst_all_1.gst-plugins-base;
};
@ -3031,7 +3034,7 @@ in {
html5lib = callPackage ../development/python-modules/html5lib { };
html5-parser = callPackage ../development/python-modules/html5-parser { inherit (pkgs) pkg-config; };
html5-parser = callPackage ../development/python-modules/html5-parser { };
htmllaundry = callPackage ../development/python-modules/htmllaundry { };
@ -3194,8 +3197,9 @@ in {
importmagic = callPackage ../development/python-modules/importmagic { };
imread =
callPackage ../development/python-modules/imread { inherit (pkgs) pkg-config libjpeg libpng libtiff libwebp; };
imread = callPackage ../development/python-modules/imread {
inherit (pkgs) libjpeg libpng libtiff libwebp;
};
imutils = callPackage ../development/python-modules/imutils { };
@ -3578,7 +3582,6 @@ in {
kmsxx = toPythonModule ((callPackage ../development/libraries/kmsxx {
inherit (pkgs.kmsxx) stdenv;
inherit (pkgs) pkg-config;
withPython = true;
}).overrideAttrs (oldAttrs: { name = "${python.libPrefix}-${pkgs.kmsxx.name}"; }));
@ -3668,7 +3671,7 @@ in {
libarcus = callPackage ../development/python-modules/libarcus { inherit (pkgs) protobuf; };
libasyncns = callPackage ../development/python-modules/libasyncns { inherit (pkgs) libasyncns pkg-config; };
libasyncns = callPackage ../development/python-modules/libasyncns { inherit (pkgs) libasyncns; };
libcloud = if isPy27 then
callPackage ../development/python-modules/libcloud/2.nix { }
@ -3780,13 +3783,16 @@ in {
libusb1 = callPackage ../development/python-modules/libusb1 { inherit (pkgs) libusb1; };
libversion = callPackage ../development/python-modules/libversion { inherit (pkgs) libversion pkg-config; };
libversion = callPackage ../development/python-modules/libversion {
inherit (pkgs) libversion;
};
libvirt = if isPy3k then
(callPackage ../development/python-modules/libvirt { inherit (pkgs) libvirt pkg-config; })
(callPackage ../development/python-modules/libvirt {
inherit (pkgs) libvirt;
})
else
(callPackage ../development/python-modules/libvirt/5.9.0.nix {
inherit (pkgs) pkg-config;
libvirt = pkgs.libvirt_5_9_0;
});
@ -3842,8 +3848,8 @@ in {
livestreamer-curses = callPackage ../development/python-modules/livestreamer-curses { };
llfuse = callPackage ../development/python-modules/llfuse {
inherit (pkgs) fuse pkg-config;
}; # use "real" fuse and pkg-config, not the python modules
inherit (pkgs) fuse;
};
llvmlite = callPackage ../development/python-modules/llvmlite {
llvm = pkgs.llvm_9;
@ -4022,7 +4028,6 @@ in {
in callPackage path {
stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
inherit (pkgs) pkg-config;
};
matrix-client = callPackage ../development/python-modules/matrix-client { };
@ -4972,7 +4977,7 @@ in {
pkce = callPackage ../development/python-modules/pkce { };
pkgconfig = callPackage ../development/python-modules/pkgconfig { inherit (pkgs) pkg-config; };
pkgconfig = callPackage ../development/python-modules/pkgconfig { };
pkginfo = callPackage ../development/python-modules/pkginfo { };
@ -5048,7 +5053,7 @@ in {
poetry-core = callPackage ../development/python-modules/poetry-core { };
poezio = callPackage ../applications/networking/instant-messengers/poezio { inherit (pkgs) pkg-config; };
poezio = callPackage ../applications/networking/instant-messengers/poezio { };
polib = callPackage ../development/python-modules/polib { };
@ -5067,7 +5072,6 @@ in {
poppler-qt5 = callPackage ../development/python-modules/poppler-qt5 {
inherit (pkgs.qt5) qtbase;
inherit (pkgs.libsForQt5) poppler;
inherit (pkgs) pkg-config;
};
portalocker = callPackage ../development/python-modules/portalocker { };
@ -5291,7 +5295,9 @@ in {
pyarlo = callPackage ../development/python-modules/pyarlo { };
pyarrow = callPackage ../development/python-modules/pyarrow { inherit (pkgs) arrow-cpp cmake pkg-config; };
pyarrow = callPackage ../development/python-modules/pyarrow {
inherit (pkgs) arrow-cpp cmake;
};
pyasn1 = callPackage ../development/python-modules/pyasn1 { };
@ -5299,7 +5305,7 @@ in {
pyatmo = callPackage ../development/python-modules/pyatmo { };
pyatspi = callPackage ../development/python-modules/pyatspi { inherit (pkgs) pkg-config; };
pyatspi = callPackage ../development/python-modules/pyatspi { };
pyatv = callPackage ../development/python-modules/pyatv { };
@ -5339,13 +5345,15 @@ in {
pybullet = callPackage ../development/python-modules/pybullet { };
pycairo = callPackage ../development/python-modules/pycairo { inherit (pkgs) meson pkg-config; };
pycairo = callPackage ../development/python-modules/pycairo {
inherit (pkgs) meson;
};
pycallgraph = callPackage ../development/python-modules/pycallgraph { };
py = callPackage ../development/python-modules/py { };
pycangjie = disabledIf (!isPy3k) (callPackage ../development/python-modules/pycangjie { inherit (pkgs) pkg-config; });
pycangjie = disabledIf (!isPy3k) (callPackage ../development/python-modules/pycangjie { });
pycapnp = callPackage ../development/python-modules/pycapnp { };
@ -5571,19 +5579,19 @@ in {
pygmt = callPackage ../development/python-modules/pygmt { };
pygobject2 = callPackage ../development/python-modules/pygobject { inherit (pkgs) pkg-config; };
pygobject2 = callPackage ../development/python-modules/pygobject { };
pygobject3 = if isPy3k then
callPackage ../development/python-modules/pygobject/3.nix { inherit (pkgs) meson pkg-config; }
callPackage ../development/python-modules/pygobject/3.nix { inherit (pkgs) meson; }
else
callPackage ../development/python-modules/pygobject/3.36.nix { inherit (pkgs) meson pkg-config; };
callPackage ../development/python-modules/pygobject/3.36.nix { inherit (pkgs) meson; };
pygogo = callPackage ../development/python-modules/pygogo { };
pygpgme = callPackage ../development/python-modules/pygpgme { };
pygraphviz = callPackage ../development/python-modules/pygraphviz {
inherit (pkgs) graphviz pkg-config;
inherit (pkgs) graphviz;
}; # not the python package
pygreat = callPackage ../development/python-modules/pygreat { };
@ -5592,14 +5600,15 @@ in {
pygtail = callPackage ../development/python-modules/pygtail { };
pygtk = callPackage ../development/python-modules/pygtk {
inherit (pkgs) pkg-config;
libglade = null;
pygtk = callPackage ../development/python-modules/pygtk { };
pyGtkGlade = self.pygtk.override {
inherit (pkgs.gnome2) libglade;
};
pyGtkGlade = self.pygtk.override { libglade = pkgs.gnome2.libglade; };
pygtksourceview = callPackage ../development/python-modules/pygtksourceview { inherit (pkgs) pkg-config; };
pygtksourceview = callPackage ../development/python-modules/pygtksourceview { };
pygtrie = callPackage ../development/python-modules/pygtrie { };
@ -5924,7 +5933,7 @@ in {
pyqt-builder = callPackage ../development/python-modules/pyqt-builder { };
pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { inherit (pkgs) pkg-config; };
pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { };
pyqt5 = pkgs.libsForQt5.callPackage ../development/python-modules/pyqt/5.x.nix { pythonPackages = self; };
@ -6073,7 +6082,7 @@ in {
pysmb = callPackage ../development/python-modules/pysmb { };
pysmbc = callPackage ../development/python-modules/pysmbc { inherit (pkgs) pkg-config; };
pysmbc = callPackage ../development/python-modules/pysmbc { };
pysmf = callPackage ../development/python-modules/pysmf { };
@ -6405,7 +6414,7 @@ in {
python-editor = callPackage ../development/python-modules/python-editor { };
pythonefl = callPackage ../development/python-modules/python-efl { inherit (pkgs) pkg-config; };
pythonefl = callPackage ../development/python-modules/python-efl { };
python-engineio = callPackage ../development/python-modules/python-engineio { };
@ -6434,14 +6443,12 @@ in {
python-http-client = callPackage ../development/python-modules/python-http-client { };
python-igraph = callPackage ../development/python-modules/python-igraph {
pkg-config = pkgs.pkg-config;
igraph = pkgs.igraph;
inherit (pkgs) igraph;
};
pythonIRClib = callPackage ../development/python-modules/pythonirclib { };
pythonix = callPackage ../development/python-modules/pythonix {
inherit (pkgs) pkg-config;
meson = pkgs.meson.override { python3 = self.python; };
};
@ -6494,9 +6501,9 @@ in {
python-nest = callPackage ../development/python-modules/python-nest { };
pythonnet = callPackage
../development/python-modules/pythonnet { # `mono >= 4.6` required to prevent crashes encountered with earlier versions.
../development/python-modules/pythonnet {
# `mono >= 4.6` required to prevent crashes encountered with earlier versions.
mono = pkgs.mono4;
inherit (pkgs) pkg-config;
};
python-nmap = callPackage ../development/python-modules/python-nmap { };
@ -6514,7 +6521,7 @@ in {
python-opendata-transport = callPackage ../development/python-modules/python-opendata-transport { };
python_openzwave = callPackage ../development/python-modules/python_openzwave { inherit (pkgs) pkg-config; };
python_openzwave = callPackage ../development/python-modules/python_openzwave { };
python-otr = callPackage ../development/python-modules/python-otr { };
@ -6685,7 +6692,7 @@ in {
pyvizio = callPackage ../development/python-modules/pyvizio { };
pyvips = callPackage ../development/python-modules/pyvips {
inherit (pkgs) pkg-config vips glib;
inherit (pkgs) vips glib;
};
pyvlx = callPackage ../development/python-modules/pyvlx { };
@ -6996,7 +7003,6 @@ in {
robomachine = callPackage ../development/python-modules/robomachine { };
roboschool = callPackage ../development/python-modules/roboschool {
inherit (pkgs) pkg-config; # use normal pkg-config, not the python package
inherit (pkgs.qt5) qtbase;
};
@ -7232,7 +7238,7 @@ in {
seccomp = callPackage ../development/python-modules/seccomp { };
secp256k1 = callPackage ../development/python-modules/secp256k1 { inherit (pkgs) secp256k1 pkg-config; };
secp256k1 = callPackage ../development/python-modules/secp256k1 { inherit (pkgs) secp256k1; };
secretstorage = if isPy3k then
callPackage ../development/python-modules/secretstorage { }
@ -7261,7 +7267,7 @@ in {
sendgrid = callPackage ../development/python-modules/sendgrid { };
sentencepiece = callPackage ../development/python-modules/sentencepiece { inherit (pkgs) sentencepiece pkg-config; };
sentencepiece = callPackage ../development/python-modules/sentencepiece { inherit (pkgs) sentencepiece; };
sentinel = callPackage ../development/python-modules/sentinel { };
@ -7725,7 +7731,7 @@ in {
subprocess32 = callPackage ../development/python-modules/subprocess32 { };
subunit = callPackage ../development/python-modules/subunit { inherit (pkgs) subunit pkg-config cppunit check; };
subunit = callPackage ../development/python-modules/subunit { inherit (pkgs) subunit cppunit check; };
suds = callPackage ../development/python-modules/suds { };
@ -7774,7 +7780,7 @@ in {
else
callPackage ../development/python-modules/sympy/1_5.nix { };
systemd = callPackage ../development/python-modules/systemd { inherit (pkgs) pkg-config systemd; };
systemd = callPackage ../development/python-modules/systemd { inherit (pkgs) systemd; };
sysv_ipc = callPackage ../development/python-modules/sysv_ipc { };
@ -8346,7 +8352,7 @@ in {
vine = callPackage ../development/python-modules/vine { };
virtkey = callPackage ../development/python-modules/virtkey { inherit (pkgs) pkg-config; };
virtkey = callPackage ../development/python-modules/virtkey { };
virtual-display = callPackage ../development/python-modules/virtual-display { };
@ -8543,11 +8549,9 @@ in {
wxPython30 = callPackage ../development/python-modules/wxPython/3.0.nix {
wxGTK = pkgs.wxGTK30;
inherit (pkgs) pkg-config;
};
wxPython_4_0 = callPackage ../development/python-modules/wxPython/4.0.nix {
inherit (pkgs) pkg-config;
inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox Carbon Cocoa CoreFoundation IOKit OpenGL;
wxGTK = pkgs.wxGTK30.override {
withGtk2 = false;
@ -8556,7 +8560,6 @@ in {
};
wxPython_4_1 = callPackage ../development/python-modules/wxPython/4.1.nix {
inherit (pkgs) pkg-config;
wxGTK = pkgs.wxGTK31.override {
withGtk2 = false;
withWebKit = true;
@ -8818,7 +8821,7 @@ in {
zstandard = callPackage ../development/python-modules/zstandard { };
zstd = callPackage ../development/python-modules/zstd { inherit (pkgs) zstd pkg-config; };
zstd = callPackage ../development/python-modules/zstd { inherit (pkgs) zstd; };
zulip = callPackage ../development/python-modules/zulip { };