nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 64 lines 1.2 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatch-vcs, 6 hatchling, 7 pint, 8 pygments, 9 pyqt5, 10 pyqt6, 11 pyside2, 12 pyside6, 13 pytestCheckHook, 14 qtpy, 15 typing-extensions, 16}: 17 18buildPythonPackage rec { 19 pname = "superqt"; 20 version = "0.7.7"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "pyapp-kit"; 25 repo = "superqt"; 26 tag = "v${version}"; 27 hash = "sha256-l6O3qI1mkaqiQAVL2jIf/ylRntsqa5p2x+ojV1ZdAtE="; 28 }; 29 30 build-system = [ 31 hatch-vcs 32 hatchling 33 ]; 34 35 dependencies = [ 36 pygments 37 pyqt5 38 qtpy 39 typing-extensions 40 ]; 41 42 optional-dependencies = { 43 quantity = [ pint ]; 44 pyside2 = [ pyside2 ]; 45 pyside6 = [ pyside6 ]; 46 pyqt6 = [ pyqt6 ]; 47 }; 48 49 nativeCheckInputs = [ pytestCheckHook ]; 50 51 # Segmentation fault 52 doCheck = false; 53 54 # Segmentation fault 55 # pythonImportsCheck = [ "superqt" ]; 56 57 meta = { 58 description = "Missing widgets and components for Qt-python (napari/superqt)"; 59 homepage = "https://github.com/napari/superqt"; 60 changelog = "https://github.com/pyapp-kit/superqt/releases/tag/${src.tag}"; 61 license = lib.licenses.bsd3; 62 maintainers = with lib.maintainers; [ SomeoneSerge ]; 63 }; 64}