1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/ndpi/default.nix
R. RyanTM ac6573cf23 ndpi: 1.8 -> 2.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ndpi/versions.

These checks were done:

- built on NixOS
- /nix/store/0wzn4dsnqb45c38lzvhlhbc8bjqqy6ig-ndpi-2.2/bin/ndpiReader passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 2.2 with grep in /nix/store/0wzn4dsnqb45c38lzvhlhbc8bjqqy6ig-ndpi-2.2
- directory tree listing: https://gist.github.com/7144c4f9a07d41666dd0187209a7e06e
- du listing: https://gist.github.com/be818fd366b25df61d730577ad3512c9
2018-06-08 02:20:26 -07:00

31 lines
835 B
Nix

{ stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap }:
let version = "2.2"; in
stdenv.mkDerivation rec {
name = "ndpi-${version}";
src = fetchFromGitHub {
owner = "ntop";
repo = "nDPI";
rev = "${version}";
sha256 = "06gg8lhn944arlczmv5i40jkjdnl1nrvsmvm843l9ybcswpayv4m";
};
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;
};
}