Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / enamlx / default.nix
blob82ddd9726dd0284c4cd41e4a7df97a350a299189
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , enaml
5 , pyqtgraph
6 , pythonocc-core
7 , typing-extensions
8 }:
10 buildPythonPackage rec {
11   pname = "enamlx";
12   version = "0.6.2";
14   src = fetchFromGitHub {
15     owner = "frmdstryr";
16     repo = pname;
17     rev = "refs/tags/v${version}";
18     hash = "sha256-LHqOZ1uLWFbUeQAGKoMH9GljhRq1K4RTVWzgV/pt3g8=";
19   };
21   propagatedBuildInputs = [
22     enaml
23     # Until https://github.com/inkcut/inkcut/issues/105 perhaps
24     pyqtgraph
25     pythonocc-core
26     typing-extensions
27   ];
29   # qt_occ_viewer test requires enaml.qt.QtOpenGL which got dropped somewhere
30   # between enaml 0.9.0 and 0.10.0
31   doCheck = false;
33   pythonImportsCheck = [
34     "enamlx.core"
35     "enamlx.qt"
36     "enamlx.widgets"
37   ];
39   meta = with lib; {
40     homepage = "https://github.com/frmdstryr/enamlx";
41     description = "Additional Qt Widgets for Enaml";
42     license = licenses.mit;
43     maintainers = with maintainers; [ raboof ];
44   };