17 buildPythonPackage rec {
18 pname = "orange-widget-base";
20 format = "setuptools";
23 inherit pname version;
24 hash = "sha256-mz+BcZEdg1p9V0ewYRrw3jKBWLMbL9RR6o4hUEUx9DA=";
27 propagatedBuildInputs = [
34 ] ++ lib.optionals stdenv.isDarwin [
38 pythonImportsCheck = [ "orangewidget" ];
41 export HOME=$(mktemp -d)
42 export QT_PLUGIN_PATH="${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}"
43 export QT_QPA_PLATFORM_PLUGIN_PATH="${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins";
44 export QT_QPA_PLATFORM=offscreen
53 "orangewidget/report/tests/test_report.py"
54 "orangewidget/tests/test_widget.py"
58 description = "Implementation of the base OWBaseWidget class and utilities for use in Orange Canvas workflows";
59 homepage = "https://github.com/biolab/orange-widget-base";
60 license = [ lib.licenses.gpl3Plus ];
61 maintainers = [ lib.maintainers.lucasew ];