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 {
|
|
|
|
name = "conntrack-tools-${version}";
|
2017-01-22 01:17:35 +00:00
|
|
|
version = "1.4.4";
|
2014-11-08 22:04:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.netfilter.org/projects/conntrack-tools/files/${name}.tar.bz2";
|
2017-01-22 01:17:35 +00:00
|
|
|
sha256 = "0v5spmlcw5n6va8z34f82vcpynadb0b54pnjazgpadf0qkyg9jmp";
|
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; {
|
|
|
|
homepage = http://conntrack-tools.netfilter.org/;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|