1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

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 }:
stdenv.mkDerivation rec {
pname = "ndpi";
version = "3.4";
version = "4.0";
src = fetchFromGitHub {
owner = "ntop";
repo = "nDPI";
rev = version;
sha256 = "0xjh9gv0mq0213bjfs5ahrh6m7l7g99jjg8104c0pw54hz0p5pq1";
sha256 = "0snzvlracc6s7r2pgdn0jqcc7nxjxzcivsa579h90g5ibhhplv5x";
};
configureScript = "./autogen.sh";
nativeBuildInputs = [which autoconf automake libtool];
nativeBuildInputs = [ which autoconf automake libtool pkg-config ];
buildInputs = [
libpcap
pkg-config
json_c
];
meta = with lib; {