python311Packages.superqt: add optional-dependencies

This commit is contained in:
Fabian Affolter
2024-05-10 15:09:14 +02:00
parent 9a6840a19c
commit fbcc96d8f2
@@ -4,12 +4,16 @@
fetchFromGitHub,
hatch-vcs,
hatchling,
pint,
pygments,
pyqt5,
pyqt6,
pyside2,
pyside6,
pytestCheckHook,
pythonOlder,
qtpy,
typing-extensions,
pytestCheckHook,
pygments,
pythonOlder,
}:
buildPythonPackage rec {
@@ -38,6 +42,13 @@ buildPythonPackage rec {
typing-extensions
];
passthru.optional-dependencies = {
quantity = [ pint ];
pyside2 = [ pyside2 ];
pyside6 = [ pyside6 ];
pyqt6 = [ pyqt6 ];
};
nativeCheckInputs = [ pytestCheckHook ];
doCheck = false; # Segfaults...