python311Packages.pyqtgraph: don't propagate pyqt5

This commit is contained in:
Doron Behar 2024-06-28 13:29:56 +03:00
parent 035350f501
commit 761efd2a2e
6 changed files with 14 additions and 1 deletions

View File

@ -154,6 +154,7 @@ let
pythonRuntime = with python.pkgs; [
scipy
pyqtgraph
pyqt5
];
};
gr-analog = {

View File

@ -156,6 +156,7 @@ let
pythonRuntime = with python.pkgs; [
scipy
pyqtgraph
pyqt5
];
};
gr-analog = {

View File

@ -19,6 +19,7 @@
nose,
pycrypto,
pyqtgraph,
pyqt5,
visualizationSupport ? false,
}:
@ -61,6 +62,7 @@ buildPythonPackage rec {
++ lib.optionals visualizationSupport [
matplotlib
pyqtgraph
pyqt5
]
++ lib.optionals (!stdenv.isDarwin) [
cramfsprogs

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
enaml,
pyqtgraph,
pyqt5,
pythonocc-core,
typing-extensions,
}:
@ -24,6 +25,7 @@ buildPythonPackage rec {
enaml
# Until https://github.com/inkcut/inkcut/issues/105 perhaps
pyqtgraph
pyqt5
pythonocc-core
typing-extensions
];

View File

@ -29,6 +29,7 @@
pytestCheckHook,
pytest-qt,
pyqtgraph,
pyqt5,
pyqtwebengine,
python,
python-louvain,
@ -113,6 +114,7 @@ let
xlsxwriter
httpx
pyqtgraph
pyqt5
orange-widget-base
keyrings-alt
pyyaml

View File

@ -34,10 +34,15 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
pyqt5
scipy
pyopengl
];
buildInputs = [
# Not propagating it so that every consumer of this package will be able to
# use any of the upstream supported Qt Library, See:
# https://pyqtgraph.readthedocs.io/en/pyqtgraph-0.13.7/getting_started/how_to_use.html#pyqt-and-pyside
pyqt5
];
nativeCheckInputs = [ pytestCheckHook ];