18 buildPythonPackage rec {
19 pname = "orange-widget-base";
21 format = "setuptools";
24 inherit pname version;
25 hash = "sha256-2cBg7s4+qMrb2G4sMk5yednOzJCNheHIQ3lty4KAg18=";
28 propagatedBuildInputs = [
35 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ appnope ];
37 pythonImportsCheck = [ "orangewidget" ];
40 export HOME=$(mktemp -d)
41 export QT_PLUGIN_PATH="${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}"
42 export QT_QPA_PLATFORM_PLUGIN_PATH="${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins";
43 export QT_QPA_PLATFORM=offscreen
52 "orangewidget/report/tests/test_report.py"
53 "orangewidget/tests/test_widget.py"
57 description = "Implementation of the base OWBaseWidget class and utilities for use in Orange Canvas workflows";
58 homepage = "https://github.com/biolab/orange-widget-base";
59 license = [ lib.licenses.gpl3Plus ];
60 maintainers = [ lib.maintainers.lucasew ];