Files
nixpkgs/pkgs/development/python-modules/enamlx/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

50 lines
986 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
enaml,
pyqtgraph,
pyqt5,
pythonocc-core,
typing-extensions,
}:
buildPythonPackage rec {
pname = "enamlx";
version = "0.6.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "frmdstryr";
repo = "enamlx";
tag = "v${version}";
hash = "sha256-C3/G0bnu1EQh0elqdrpCwkFPZU4qmkUX7WRSRK9nkM4=";
};
propagatedBuildInputs = [
enaml
# Until https://github.com/inkcut/inkcut/issues/105 perhaps
pyqtgraph
pyqt5
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 = {
homepage = "https://github.com/frmdstryr/enamlx";
description = "Additional Qt Widgets for Enaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ raboof ];
};
}