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