2022-01-03 16:56:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, setuptools-scm
|
|
|
|
, pyqt5
|
2022-04-15 01:41:22 +00:00
|
|
|
, qtpy
|
2022-01-03 16:56:52 +00:00
|
|
|
, typing-extensions
|
|
|
|
, pytestCheckHook
|
2022-08-21 13:32:41 +00:00
|
|
|
, pygments
|
2022-04-15 01:41:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-01-03 16:56:52 +00:00
|
|
|
pname = "superqt";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.3.8";
|
2022-08-21 13:32:41 +00:00
|
|
|
format = "pyproject";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "napari";
|
|
|
|
repo = pname;
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-zEMG2zscGDlRxtLn/lUTEjZBPabcwzMcj/kMcy3yOs8=";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
2022-08-21 13:32:41 +00:00
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyqt5
|
|
|
|
qtpy
|
|
|
|
typing-extensions
|
|
|
|
pygments
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-08-21 13:32:41 +00:00
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
doCheck = false; # Segfaults...
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "superqt" ];
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Missing widgets and components for Qt-python (napari/superqt)";
|
|
|
|
homepage = "https://github.com/napari/superqt";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ SomeoneSerge ];
|
|
|
|
};
|
|
|
|
}
|