nixpkgs/pkgs/applications/networking/flent/default.nix

33 lines
758 B
Nix
Raw Normal View History

2019-08-08 05:57:04 -07:00
{ stdenv, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5, qt5
2019-08-08 05:45:52 -07:00
, sphinx }:
2018-05-14 08:24:18 -07:00
buildPythonApplication rec {
pname = "flent";
version = "1.2.2";
2019-08-08 05:51:44 -07:00
src = fetchPypi {
inherit pname version;
sha256 = "0ziblk36rzr99pbi7xzzkci3sr41m0jf72v38ynp63df6szbbfjb";
2018-05-14 08:24:18 -07:00
};
2018-06-06 21:44:51 -07:00
buildInputs = [ sphinx ];
2019-08-08 05:57:04 -07:00
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
2018-06-06 21:44:51 -07:00
checkInputs = [ procps ];
2019-08-08 05:45:52 -07:00
propagatedBuildInputs = [ matplotlib procps pyqt5 ];
2018-05-14 08:24:18 -07:00
2019-08-08 05:57:04 -07:00
postInstall = ''
for program in $out/bin/*; do
wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH
done
'';
2018-05-14 08:24:18 -07:00
meta = with stdenv.lib; {
description = "The FLExible Network Tester";
2019-08-08 05:45:52 -07:00
homepage = "https://flent.org";
2018-05-14 08:24:18 -07:00
license = licenses.gpl3;
maintainers = [ maintainers.mmlb ];
};
}