Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 43 lines 893 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, enaml 5, pyqtgraph 6, pythonocc-core 7}: 8 9buildPythonPackage rec { 10 pname = "enamlx"; 11 version = "0.4.1"; 12 13 src = fetchFromGitHub { 14 owner = "frmdstryr"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "0yh7bw9ibk758bym5w2wk7sifghf1hkxa8sd719q8nsz279cpfc0"; 18 }; 19 20 propagatedBuildInputs = [ 21 enaml 22 # Until https://github.com/inkcut/inkcut/issues/105 perhaps 23 pyqtgraph 24 pythonocc-core 25 ]; 26 27 # qt_occ_viewer test requires enaml.qt.QtOpenGL which got dropped somewhere 28 # between enaml 0.9.0 and 0.10.0 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "enamlx.core" 33 "enamlx.qt" 34 "enamlx.widgets" 35 ]; 36 37 meta = with lib; { 38 homepage = "https://github.com/frmdstryr/enamlx"; 39 description = "Additional Qt Widgets for Enaml"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ raboof ]; 42 }; 43}