ifstat-legacy: init at 1.1
This commit is contained in:
parent
08824d7ae0
commit
971eb19dbc
2 changed files with 32 additions and 0 deletions
30
pkgs/tools/networking/ifstat-legacy/default.nix
Normal file
30
pkgs/tools/networking/ifstat-legacy/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchurl, autoreconfHook, net_snmp }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ifstat-legacy-${version}";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://gael.roualland.free.fr/ifstat/ifstat-${version}.tar.gz";
|
||||
sha256 = "01zmv6vk5kh5xmd563xws8a1qnxjb6b6kv59yzz9r3rrghxhd6c5";
|
||||
};
|
||||
|
||||
buildInputs = [ net_snmp ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/ifstat $out/bin/ifstat-legacy
|
||||
mv $out/share/man/man1/ifstat.1 $out/share/man/man1/ifstat-legacy.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Report network interfaces bandwith just like vmstat/iostat do for other system counters - legacy version";
|
||||
homepage = http://gael.roualland.free.fr/ifstat/;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
|
@ -18358,6 +18358,8 @@ with pkgs;
|
|||
|
||||
tini = callPackage ../applications/virtualization/tini {};
|
||||
|
||||
ifstat-legacy = callPackage ../tools/networking/ifstat-legacy { };
|
||||
|
||||
isabelle = callPackage ../applications/science/logic/isabelle {
|
||||
polyml = polyml56;
|
||||
java = if stdenv.isLinux then jre else jdk;
|
||||
|
|
Loading…
Reference in a new issue