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