{ lib, buildPythonApplication, fetchPypi, procps, python, qt5, xvfb-run, }: buildPythonApplication rec { pname = "flent"; version = "2.1.1"; src = fetchPypi { inherit pname version; hash = "sha256-21gd6sPYCZll3Q2O7kucTRhXvc5byXeQr50+1bZVT3M="; }; buildInputs = [python.pkgs.sphinx]; nativeBuildInputs = [qt5.wrapQtAppsHook]; propagatedBuildInputs = [ procps python.pkgs.matplotlib python.pkgs.pyqt5 python.pkgs.qtpy ]; nativeCheckInputs = [ python.pkgs.mock xvfb-run ]; checkPhase = '' # we want the gui tests to always run sed -i 's|self.skip|pass; #&|' unittests/test_gui.py cat >test-runner <