From b14f809bb101b29964508857765e3638402e451a Mon Sep 17 00:00:00 2001 From: Manuel Mendez Date: Mon, 14 May 2018 11:24:18 -0400 Subject: [PATCH] flent: init at 1.2.2 --- .../applications/networking/flent/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/networking/flent/default.nix diff --git a/pkgs/applications/networking/flent/default.nix b/pkgs/applications/networking/flent/default.nix new file mode 100644 index 000000000000..9a0bb0104d4c --- /dev/null +++ b/pkgs/applications/networking/flent/default.nix @@ -0,0 +1,27 @@ +{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, netperf, procps, pyqt5 }: + +buildPythonApplication rec { + pname = "flent"; + version = "1.2.2"; + src = fetchFromGitHub { + owner = "tohojo"; + repo = "flent"; + rev = version; + sha256 = "0rl4ahynl6ymw7r04vpg9p90pplrxc41rjlzvm0swxsvpw40yvkm"; + }; + + buildInputs = [ netperf ]; + propagatedBuildInputs = [ + matplotlib + procps + pyqt5 + ]; + + meta = with stdenv.lib; { + description = "The FLExible Network Tester"; + homepage = https://flent.org; + license = licenses.gpl3; + + maintainers = [ maintainers.mmlb ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d11c94e8684..3a4077267ebb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2332,6 +2332,8 @@ with pkgs; flashrom = callPackage ../tools/misc/flashrom { }; + flent = python3Packages.callPackage ../applications/networking/flent { }; + flpsed = callPackage ../applications/editors/flpsed { }; fluentd = callPackage ../tools/misc/fluentd { };