evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / magicgui / default.nix
bloba996573f30787b932373503f51e6d809891debdd
2   lib,
3   buildPythonPackage,
4   docstring-parser,
5   fetchFromGitHub,
6   hatch-vcs,
7   hatchling,
8   napari, # a reverse-dependency, for tests
9   psygnal,
10   pyside2,
11   pytestCheckHook,
12   pythonOlder,
13   superqt,
14   typing-extensions,
17 buildPythonPackage rec {
18   pname = "magicgui";
19   version = "0.9.1";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "pyapp-kit";
26     repo = "magicgui";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-6ye29HtGQ8iwYE2kQ1wWIBC+bzFsMZmJR4eTXWwu7+U=";
29   };
31   build-system = [
32     hatch-vcs
33     hatchling
34   ];
36   dependencies = [
37     typing-extensions
38     superqt
39     pyside2
40     psygnal
41     docstring-parser
42   ];
44   nativeCheckInputs = [ pytestCheckHook ];
46   doCheck = false; # Reports "Fatal Python error"
48   passthru.tests = {
49     inherit napari;
50   };
52   meta = with lib; {
53     description = "Build GUIs from python functions, using magic.  (napari/magicgui)";
54     homepage = "https://github.com/napari/magicgui";
55     changelog = "https://github.com/pyapp-kit/magicgui/blob/v${version}/CHANGELOG.md";
56     license = licenses.mit;
57     maintainers = with maintainers; [ SomeoneSerge ];
58   };