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
44
pkgs/tools/networking/nfdump/default.nix
Normal file
44
pkgs/tools/networking/nfdump/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, autoconf, automake, libtool, pkg-config
|
||||
, bzip2, libpcap, flex, bison }:
|
||||
|
||||
let version = "1.6.23"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "nfdump";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phaag";
|
||||
repo = "nfdump";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aM7U+JD8EtxEusvObsRgqS0aqfTfF3vYxCqvw0bgX20=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake flex libtool pkg-config bison ];
|
||||
buildInputs = [ bzip2 libpcap ];
|
||||
|
||||
preConfigure = ''
|
||||
# The script defaults to glibtoolize on darwin, so we pass the correct
|
||||
# name explicitly.
|
||||
LIBTOOLIZE=libtoolize ./autogen.sh
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--enable-nsel"
|
||||
"--enable-sflow"
|
||||
"--enable-readpcap"
|
||||
"--enable-nfpcapd"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for working with netflow data";
|
||||
longDescription = ''
|
||||
nfdump is a set of tools for working with netflow data.
|
||||
'';
|
||||
homepage = "https://github.com/phaag/nfdump";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.takikawa ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue