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
42
pkgs/development/libraries/ndpi/default.nix
Normal file
42
pkgs/development/libraries/ndpi/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, which
|
||||
, autoconf
|
||||
, automake
|
||||
, libtool
|
||||
, libpcap
|
||||
, json_c
|
||||
, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ndpi";
|
||||
version = "4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ntop";
|
||||
repo = "nDPI";
|
||||
rev = version;
|
||||
sha256 = "sha256-ZWWuyPGl+hbrfXdtPvCBqMReuJ4FiGx+qiI7qCz6wtQ=";
|
||||
};
|
||||
|
||||
configureScript = "./autogen.sh";
|
||||
|
||||
nativeBuildInputs = [ which autoconf automake libtool pkg-config ];
|
||||
buildInputs = [
|
||||
libpcap
|
||||
json_c
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for deep-packet inspection";
|
||||
longDescription = ''
|
||||
nDPI is a library for deep-packet inspection based on OpenDPI.
|
||||
'';
|
||||
homepage = "https://www.ntop.org/products/deep-packet-inspection/ndpi/";
|
||||
license = with licenses; [ lgpl3Plus bsd3 ];
|
||||
maintainers = with maintainers; [ takikawa ];
|
||||
mainProgram = "ndpiReader";
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue