depot/third_party/nixpkgs/pkgs/development/libraries/ndpi/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
837 B
Nix

{ stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap }:
let version = "2.8"; in
stdenv.mkDerivation {
pname = "ndpi";
inherit version;
src = fetchFromGitHub {
owner = "ntop";
repo = "nDPI";
rev = version;
sha256 = "0lc4vga89pm954vf92g9fa6xwsjkb13jd6wrcc35zy5j04nf9rzf";
};
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/";
license = with licenses; lgpl3;
maintainers = with maintainers; [ takikawa ];
platforms = with platforms; unix;
};
}