3
0
Fork 0
forked from mirrors/nixpkgs

ndpi: 3.4 -> 4.0

This commit is contained in:
Robert Scott 2021-08-15 17:11:29 +01:00
parent 027a3977d6
commit e878e9c5a5

View file

@ -1,23 +1,31 @@
{ lib, stdenv, fetchFromGitHub, which, autoconf, automake, libtool, libpcap { lib
, stdenv
, fetchFromGitHub
, which
, autoconf
, automake
, libtool
, libpcap
, json_c
, pkg-config }: , pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ndpi"; pname = "ndpi";
version = "3.4"; version = "4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ntop"; owner = "ntop";
repo = "nDPI"; repo = "nDPI";
rev = version; rev = version;
sha256 = "0xjh9gv0mq0213bjfs5ahrh6m7l7g99jjg8104c0pw54hz0p5pq1"; sha256 = "0snzvlracc6s7r2pgdn0jqcc7nxjxzcivsa579h90g5ibhhplv5x";
}; };
configureScript = "./autogen.sh"; configureScript = "./autogen.sh";
nativeBuildInputs = [which autoconf automake libtool]; nativeBuildInputs = [ which autoconf automake libtool pkg-config ];
buildInputs = [ buildInputs = [
libpcap libpcap
pkg-config json_c
]; ];
meta = with lib; { meta = with lib; {