{ lib, buildPythonPackage, fetchFromGitHub, hatch-vcs, hatchling, pint, pygments, pyqt5, pyqt6, pyside2, pyside6, pytestCheckHook, qtpy, typing-extensions, }: buildPythonPackage rec { pname = "superqt"; version = "0.7.7"; pyproject = true; src = fetchFromGitHub { owner = "pyapp-kit"; repo = "superqt"; tag = "v${version}"; hash = "sha256-l6O3qI1mkaqiQAVL2jIf/ylRntsqa5p2x+ojV1ZdAtE="; }; build-system = [ hatch-vcs hatchling ]; dependencies = [ pygments pyqt5 qtpy typing-extensions ]; optional-dependencies = { quantity = [ pint ]; pyside2 = [ pyside2 ]; pyside6 = [ pyside6 ]; pyqt6 = [ pyqt6 ]; }; nativeCheckInputs = [ pytestCheckHook ]; # Segmentation fault doCheck = false; # Segmentation fault # pythonImportsCheck = [ "superqt" ]; meta = { description = "Missing widgets and components for Qt-python (napari/superqt)"; homepage = "https://github.com/napari/superqt"; changelog = "https://github.com/pyapp-kit/superqt/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ SomeoneSerge ]; }; }