ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / superqt / default.nix
blobdb93064b541f0dad31dff776605cd65cdf2e6bd9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools-scm
5 , pyqt5
6 , qtpy
7 , typing-extensions
8 , pytestCheckHook
9 , pygments
12 buildPythonPackage rec {
13   pname = "superqt";
14   version = "0.3.8";
15   format = "pyproject";
17   src = fetchFromGitHub {
18     owner = "napari";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     sha256 = "sha256-zEMG2zscGDlRxtLn/lUTEjZBPabcwzMcj/kMcy3yOs8=";
22   };
24   nativeBuildInputs = [ setuptools-scm ];
26   propagatedBuildInputs = [
27     pyqt5
28     qtpy
29     typing-extensions
30     pygments
31   ];
33   checkInputs = [ pytestCheckHook ];
35   doCheck = false; # Segfaults...
37   pythonImportsCheck = [ "superqt" ];
39   SETUPTOOLS_SCM_PRETEND_VERSION = version;
41   meta = with lib; {
42     description = "Missing widgets and components for Qt-python (napari/superqt)";
43     homepage = "https://github.com/napari/superqt";
44     license = licenses.bsd3;
45     maintainers = with maintainers; [ SomeoneSerge ];
46   };