Merge pull request #101800 from cheriimoya/ndpi

ndpi 2.8 -> 3.4
This commit is contained in:
Sandro 2020-11-25 23:50:20 +01:00 committed by GitHub
commit 5d6004a01d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,7 @@
{ stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap }:
{ stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap
, pkg-config }:
let version = "2.8"; in
let version = "3.4"; in
stdenv.mkDerivation {
pname = "ndpi";
@ -10,13 +11,16 @@ stdenv.mkDerivation {
owner = "ntop";
repo = "nDPI";
rev = version;
sha256 = "0lc4vga89pm954vf92g9fa6xwsjkb13jd6wrcc35zy5j04nf9rzf";
sha256 = "0xjh9gv0mq0213bjfs5ahrh6m7l7g99jjg8104c0pw54hz0p5pq1";
};
configureScript = "./autogen.sh";
nativeBuildInputs = [which autoconf automake libtool];
buildInputs = [libpcap];
buildInputs = [
libpcap
pkg-config
];
meta = with stdenv.lib; {
description = "A library for deep-packet inspection";