nixpkgs/pkgs/development/libraries/ndpi/default.nix

31 lines
835 B
Nix
Raw Normal View History

2017-02-22 09:19:47 +01:00
{ stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap }:
let version = "2.8"; in
2017-02-22 09:19:47 +01:00
stdenv.mkDerivation rec {
name = "ndpi-${version}";
src = fetchFromGitHub {
owner = "ntop";
repo = "nDPI";
rev = "${version}";
sha256 = "0lc4vga89pm954vf92g9fa6xwsjkb13jd6wrcc35zy5j04nf9rzf";
2017-02-22 09:19:47 +01:00
};
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 = https://www.ntop.org/products/deep-packet-inspection/ndpi/;
2017-02-22 09:19:47 +01:00
license = with licenses; lgpl3;
maintainers = with maintainers; [ takikawa ];
platforms = with platforms; unix;
};
}