2014-11-08 23:04:49 +01:00
|
|
|
{ fetchurl, stdenv, flex, bison, pkgconfig, libmnl, libnfnetlink
|
|
|
|
, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout
|
|
|
|
, libnetfilter_cthelper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "conntrack-tools-${version}";
|
2015-09-10 22:52:12 +02:00
|
|
|
version = "1.4.3";
|
2014-11-08 23:04:49 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.netfilter.org/projects/conntrack-tools/files/${name}.tar.bz2";
|
2015-09-10 22:52:12 +02:00
|
|
|
sha256 = "0mrzrzp6y41pmxc6ixc4fkgz6layrpwsmzb522adzzkc6mhcqg5g";
|
2014-11-08 23:04:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue
|
|
|
|
libnetfilter_cttimeout libnetfilter_cthelper ];
|
|
|
|
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;
|
2015-09-10 22:52:12 +02:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2014-11-08 23:04:49 +01:00
|
|
|
};
|
|
|
|
}
|