depot/third_party/nixpkgs/pkgs/development/python-modules/enamlx/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
976 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
enaml,
pyqtgraph,
pythonocc-core,
typing-extensions,
}:
buildPythonPackage rec {
pname = "enamlx";
version = "0.6.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "frmdstryr";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-C3/G0bnu1EQh0elqdrpCwkFPZU4qmkUX7WRSRK9nkM4=";
};
propagatedBuildInputs = [
enaml
# Until https://github.com/inkcut/inkcut/issues/105 perhaps
pyqtgraph
pythonocc-core
typing-extensions
];
# 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 ];
};
}