linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / ndpi / default.nix
blobc3df23052e22c871af3a4b345058ec27ef4253dc
1 { lib, stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap
2 , pkg-config }:
4 let version = "3.4"; in
6 stdenv.mkDerivation {
7   pname = "ndpi";
8   inherit version;
10   src = fetchFromGitHub {
11     owner = "ntop";
12     repo = "nDPI";
13     rev = version;
14     sha256 = "0xjh9gv0mq0213bjfs5ahrh6m7l7g99jjg8104c0pw54hz0p5pq1";
15   };
17   configureScript = "./autogen.sh";
19   nativeBuildInputs = [which autoconf automake libtool];
20   buildInputs = [
21     libpcap
22     pkg-config
23   ];
25   meta = with lib; {
26     description = "A library for deep-packet inspection";
27     longDescription = ''
28       nDPI is a library for deep-packet inspection based on OpenDPI.
29     '';
30     homepage = "https://www.ntop.org/products/deep-packet-inspection/ndpi/";
31     license = with licenses; lgpl3;
32     maintainers = with maintainers; [ takikawa ];
33     platforms = with platforms; unix;
34   };