forked from mirrors/nixpkgs
ndpi: 3.4 -> 4.0
This commit is contained in:
parent
027a3977d6
commit
e878e9c5a5
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue