1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, atom
5, ply
6, kiwisolver
7, qtpy
8, sip_4
9, cppy
10, bytecode
11}:
12
13buildPythonPackage rec {
14 pname = "enaml";
15 version = "0.13.0";
16
17 src = fetchFromGitHub {
18 owner = "nucleic";
19 repo = pname;
20 rev = version;
21 sha256 = "sha256-8ZahvFDYW7xUTSTZP1UXnQBCg9RVUywoO7EbqtTQPJI=";
22 };
23
24 # qt bindings cannot be found during tests
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "enaml"
29 "enaml.applib"
30 "enaml.core"
31 "enaml.core.parser"
32 "enaml.layout"
33 # qt bindings cannot be found during checking
34 #"enaml.qt"
35 #"enaml.qt.docking"
36 "enaml.scintilla"
37 "enaml.stdlib"
38 "enaml.widgets"
39 "enaml.workbench"
40 ];
41
42 propagatedBuildInputs = [
43 atom
44 ply
45 kiwisolver
46 qtpy
47 sip_4
48 cppy
49 bytecode
50 ];
51
52 meta = with lib; {
53 homepage = "https://github.com/nucleic/enaml";
54 description = "Declarative User Interfaces for Python";
55 license = licenses.bsd3;
56 maintainers = with maintainers; [ raboof ];
57 };
58}