diff options
author | Asumu Takikawa <asumu@igalia.com> | 2017-02-22 00:19:47 -0800 |
---|---|---|
committer | Asumu Takikawa <asumu@igalia.com> | 2017-02-22 00:20:10 -0800 |
commit | 85fb29bb49869a69405cc9ad5658d7cb6b64434e (patch) | |
tree | 8bb5ca0c950189fd6c615e0597c59bf7f476caab /pkgs/development/libraries/ndpi | |
parent | 27d4f8c717ecdd57613f7566b63e94be20d335b6 (diff) |
ndpi: init at 1.8
Diffstat (limited to 'pkgs/development/libraries/ndpi')
-rw-r--r-- | pkgs/development/libraries/ndpi/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ndpi/default.nix b/pkgs/development/libraries/ndpi/default.nix new file mode 100644 index 0000000000000..f1232d7d253ae --- /dev/null +++ b/pkgs/development/libraries/ndpi/default.nix @@ -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; + }; +} |