python311Packages.superqt: add optional-dependencies
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user