git.iko.soy/typeable/nixpkgs
on master help sign in
ifstat-legacy: init at 1.1
commit971eb19dbcb0313a592bd349692f937ec6b04d45 authorPeter Hoeg <peter@hoeg.com> dateMon 18 Sep 2017, 18:25 (9 years ago) parent08824d7
2 files changed+32
pkgs/tools/networking/ifstat-legacy/default.nix+30 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/ifstat-legacy/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv, fetchurl, autoreconfHook, net_snmp }:
2+
3+stdenv.mkDerivation rec {
4+ name = "ifstat-legacy-${version}";
5+ version = "1.1";
6+
7+ src = fetchurl {
8+ url = "http://gael.roualland.free.fr/ifstat/ifstat-${version}.tar.gz";
9+ sha256 = "01zmv6vk5kh5xmd563xws8a1qnxjb6b6kv59yzz9r3rrghxhd6c5";
10+ };
11+
12+ buildInputs = [ net_snmp ];
13+
14+ nativeBuildInputs = [ autoreconfHook ];
15+
16+ enableParallelBuilding = true;
17+
18+ postInstall = ''
19+ mv $out/bin/ifstat $out/bin/ifstat-legacy
20+ mv $out/share/man/man1/ifstat.1 $out/share/man/man1/ifstat-legacy.1
21+ '';
22+
23+ meta = with stdenv.lib; {
24+ description = "Report network interfaces bandwith just like vmstat/iostat do for other system counters - legacy version";
25+ homepage = http://gael.roualland.free.fr/ifstat/;
26+ maintainers = with maintainers; [ peterhoeg ];
27+ platforms = platforms.unix;
28+ license = licenses.gpl2;
29+ };
30+}
pkgs/top-level/all-packages.nix+2
@@ -18358,6 +18358,8 @@ with pkgs;
1835818358
1835918359 tini = callPackage ../applications/virtualization/tini {};
1836018360
18361+ ifstat-legacy = callPackage ../tools/networking/ifstat-legacy { };
18362+
1836118363 isabelle = callPackage ../applications/science/logic/isabelle {
1836218364 polyml = polyml56;
1836318365 java = if stdenv.isLinux then jre else jdk;