diff --git a/pkgs/applications/networking/flent/default.nix b/pkgs/applications/networking/flent/default.nix index ed7e8ae9d6a..9b170735dcf 100644 --- a/pkgs/applications/networking/flent/default.nix +++ b/pkgs/applications/networking/flent/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5 +{ stdenv, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5, qt5 , sphinx }: buildPythonApplication rec { @@ -10,11 +10,18 @@ buildPythonApplication rec { }; buildInputs = [ sphinx ]; + nativeBuildInputs = [ qt5.wrapQtAppsHook ]; checkInputs = [ procps ]; propagatedBuildInputs = [ matplotlib procps pyqt5 ]; + postInstall = '' + for program in $out/bin/*; do + wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH + done + ''; + meta = with stdenv.lib; { description = "The FLExible Network Tester"; homepage = "https://flent.org";