ndpi: init at 1.8

This commit is contained in:
Asumu Takikawa 2017-02-22 00:19:47 -08:00
parent 27d4f8c717
commit 85fb29bb49
3 changed files with 33 additions and 0 deletions

View File

@ -478,6 +478,7 @@
sztupi = "Attila Sztupak <attila.sztupak@gmail.com>"; sztupi = "Attila Sztupak <attila.sztupak@gmail.com>";
taeer = "Taeer Bar-Yam <taeer@necsi.edu>"; taeer = "Taeer Bar-Yam <taeer@necsi.edu>";
tailhook = "Paul Colomiets <paul@colomiets.name>"; tailhook = "Paul Colomiets <paul@colomiets.name>";
takikawa = "Asumu Takikawa <asumu@igalia.com>";
taktoa = "Remy Goldschmidt <taktoa@gmail.com>"; taktoa = "Remy Goldschmidt <taktoa@gmail.com>";
tavyc = "Octavian Cerna <octavian.cerna@gmail.com>"; tavyc = "Octavian Cerna <octavian.cerna@gmail.com>";
teh = "Tom Hunger <tehunger@gmail.com>"; teh = "Tom Hunger <tehunger@gmail.com>";

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap }:
let version = "1.8"; in
stdenv.mkDerivation rec {
name = "ndpi-${version}";
src = fetchFromGitHub {
owner = "ntop";
repo = "nDPI";
rev = "${version}";
sha256 = "0kxp9dv4d1nmr2cxv6zsfy2j14wyb0q6am0qyxg0npjb08p7njf4";
};
configureScript = "./autogen.sh";
nativeBuildInputs = [which autoconf automake libtool];
buildInputs = [libpcap];
meta = with stdenv.lib; {
description = "A library for deep-packet inspection";
longDescription = ''
nDPI is a library for deep-packet inspection based on OpenDPI.
'';
homepage = http://www.ntop.org/products/deep-packet-inspection/ndpi/;
license = with licenses; lgpl3;
maintainers = with maintainers; [ takikawa ];
platforms = with platforms; unix;
};
}

View File

@ -8935,6 +8935,8 @@ with pkgs;
nanomsg = callPackage ../development/libraries/nanomsg { }; nanomsg = callPackage ../development/libraries/nanomsg { };
ndpi = callPackage ../development/libraries/ndpi { };
notify-sharp = callPackage ../development/libraries/notify-sharp { }; notify-sharp = callPackage ../development/libraries/notify-sharp { };
ncurses5 = callPackage ../development/libraries/ncurses { abiVersion = "5"; }; ncurses5 = callPackage ../development/libraries/ncurses { abiVersion = "5"; };