uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 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 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, net-snmp }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ifstat-legacy";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://gael.roualland.free.fr/ifstat/ifstat-${version}.tar.gz";
|
||||
sha256 = "01zmv6vk5kh5xmd563xws8a1qnxjb6b6kv59yzz9r3rrghxhd6c5";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional stdenv.isLinux 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 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue