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