2021-02-05 17:12:51 +00:00
|
|
|
{ fetchurl, lib, stdenv, flex, bison, pkg-config, libmnl, libnfnetlink
|
2020-04-24 23:36:52 +00:00
|
|
|
, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout
|
2020-10-16 20:44:37 +00:00
|
|
|
, libnetfilter_cthelper, systemd
|
|
|
|
, libtirpc
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "conntrack-tools";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "1.4.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.netfilter.org/projects/conntrack-tools/files/${pname}-${version}.tar.bz2";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-CZ3rz1foFpDO1X9Ra0k1iKc1GPSMFNZW+COym0/CS10=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue
|
2020-10-16 20:44:37 +00:00
|
|
|
libnetfilter_cttimeout libnetfilter_cthelper systemd libtirpc
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ flex bison pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://conntrack-tools.netfilter.org/";
|
|
|
|
description = "Connection tracking userspace tools";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
};
|
|
|
|
}
|