flent: use wrapQtAppsHook
This commit is contained in:
parent
a88232c31a
commit
a48c4843cd
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5
|
{ stdenv, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5, qt5
|
||||||
, sphinx }:
|
, sphinx }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
|
@ -10,11 +10,18 @@ buildPythonApplication rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ sphinx ];
|
buildInputs = [ sphinx ];
|
||||||
|
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||||
|
|
||||||
checkInputs = [ procps ];
|
checkInputs = [ procps ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ matplotlib procps pyqt5 ];
|
propagatedBuildInputs = [ matplotlib procps pyqt5 ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for program in $out/bin/*; do
|
||||||
|
wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "The FLExible Network Tester";
|
description = "The FLExible Network Tester";
|
||||||
homepage = "https://flent.org";
|
homepage = "https://flent.org";
|
||||||
|
|
Loading…
Reference in New Issue