otadump: init at 0.1.2 (#329129)
[NixPkgs.git] / pkgs / development / python-modules / enaml / default.nix
blob9a7c3955d0e1f6aec6973860a372a0bd8e3a05c5
2   lib,
3   atom,
4   buildPythonPackage,
5   bytecode,
6   cppy,
7   fetchFromGitHub,
8   kiwisolver,
9   pegen,
10   ply,
11   qtpy,
12   setuptools,
13   setuptools-scm,
14   pythonOlder,
15   sip,
18 buildPythonPackage rec {
19   pname = "enaml";
20   version = "0.18.0";
21   format = "pyproject";
23   disabled = pythonOlder "3.8";
25   src = fetchFromGitHub {
26     owner = "nucleic";
27     repo = pname;
28     rev = "refs/tags/${version}";
29     hash = "sha256-XwBvPABg4DomI5JNuqaRTINsPgjn8h67rO/ZkSRQ39o=";
30   };
32   nativeBuildInputs = [
33     setuptools
34     setuptools-scm
35   ];
37   propagatedBuildInputs = [
38     atom
39     bytecode
40     cppy
41     kiwisolver
42     pegen
43     ply
44     qtpy
45     sip
46   ];
48   # qt bindings cannot be found during tests
49   doCheck = false;
51   pythonImportsCheck = [
52     "enaml"
53     "enaml.applib"
54     "enaml.core"
55     "enaml.core.parser"
56     "enaml.layout"
57     # qt bindings cannot be found during checking
58     #"enaml.qt"
59     #"enaml.qt.docking"
60     "enaml.scintilla"
61     "enaml.stdlib"
62     "enaml.widgets"
63     "enaml.workbench"
64   ];
66   meta = with lib; {
67     description = "Declarative User Interfaces for Python";
68     homepage = "https://github.com/nucleic/enaml";
69     changelog = "https://github.com/nucleic/enaml/releases/tag/${version}";
70     license = licenses.bsd3;
71     maintainers = with maintainers; [ raboof ];
72   };