2021-01-18 22:50:56 -08:00
|
|
|
{ fetchurl, lib, stdenv, flex, bison, pkg-config, libmnl, libnfnetlink
|
2014-11-08 14:04:49 -08:00
|
|
|
, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout
|
2020-08-11 09:59:53 -07:00
|
|
|
, libnetfilter_cthelper, systemd
|
|
|
|
, libtirpc
|
|
|
|
}:
|
2014-11-08 14:04:49 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "conntrack-tools";
|
2020-05-04 10:25:46 -07:00
|
|
|
version = "1.4.6";
|
2014-11-08 14:04:49 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://www.netfilter.org/projects/conntrack-tools/files/${pname}-${version}.tar.bz2";
|
2020-05-04 10:25:46 -07:00
|
|
|
sha256 = "0psx41bclqrh4514yzq03rvs3cq3scfpd1v4kkyxnic2hk65j22r";
|
2014-11-08 14:04:49 -08:00
|
|
|
};
|
|
|
|
|
2017-01-21 17:17:35 -08:00
|
|
|
buildInputs = [
|
|
|
|
libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue
|
2020-08-11 09:59:53 -07:00
|
|
|
libnetfilter_cttimeout libnetfilter_cthelper systemd libtirpc
|
2017-01-21 17:17:35 -08:00
|
|
|
];
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ flex bison pkg-config ];
|
2014-11-08 14:04:49 -08:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://conntrack-tools.netfilter.org/";
|
2014-11-08 14:04:49 -08:00
|
|
|
description = "Connection tracking userspace tools";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2Plus;
|
2018-01-16 13:59:13 -08:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2014-11-08 14:04:49 -08:00
|
|
|
};
|
|
|
|
}
|