diff options
author | Arnout Engelen <arnout@bzzt.net> | 2020-07-14 08:23:56 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-10 12:10:47 -0700 |
commit | 002077c0a66d0acce6930e2ff2ab2c7d34244c64 (patch) | |
tree | 5d86b43cea450ee054cdb410a2011076ff684e75 /pkgs/development | |
parent | 8aa47c15ccf06c36f791a2e13ea9ea791884c458 (diff) | |
download | nixpkgs-002077c0a66d0acce6930e2ff2ab2c7d34244c64.tar nixpkgs-002077c0a66d0acce6930e2ff2ab2c7d34244c64.tar.gz nixpkgs-002077c0a66d0acce6930e2ff2ab2c7d34244c64.tar.bz2 nixpkgs-002077c0a66d0acce6930e2ff2ab2c7d34244c64.tar.lz nixpkgs-002077c0a66d0acce6930e2ff2ab2c7d34244c64.tar.xz nixpkgs-002077c0a66d0acce6930e2ff2ab2c7d34244c64.tar.zst nixpkgs-002077c0a66d0acce6930e2ff2ab2c7d34244c64.zip |
pythonPackages.enamlx: init at 0.4.1
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/enamlx/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/enamlx/default.nix b/pkgs/development/python-modules/enamlx/default.nix new file mode 100644 index 00000000000..dbf54aac40e --- /dev/null +++ b/pkgs/development/python-modules/enamlx/default.nix @@ -0,0 +1,43 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, enaml +, pyqtgraph +, pythonocc-core +}: + +buildPythonPackage rec { + pname = "enamlx"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "frmdstryr"; + repo = pname; + rev = "v${version}"; + sha256 = "0yh7bw9ibk758bym5w2wk7sifghf1hkxa8sd719q8nsz279cpfc0"; + }; + + propagatedBuildInputs = [ + enaml + # Until https://github.com/inkcut/inkcut/issues/105 perhaps + pyqtgraph + pythonocc-core + ]; + + # qt_occ_viewer test requires enaml.qt.QtOpenGL which got dropped somewhere + # between enaml 0.9.0 and 0.10.0 + doCheck = false; + + pythonImportsCheck = [ + "enamlx.core" + "enamlx.qt" + "enamlx.widgets" + ]; + + meta = with lib; { + homepage = "https://github.com/frmdstryr/enamlx"; + description = "Additional Qt Widgets for Enaml"; + license = licenses.mit; + maintainers = with maintainers; [ raboof ]; + }; +} |