a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
29 lines
915 B
Nix
29 lines
915 B
Nix
{ fetchurl, lib, stdenv, flex, bison, pkgconfig, libmnl, libnfnetlink
|
|
, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout
|
|
, libnetfilter_cthelper, systemd
|
|
, libtirpc
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "conntrack-tools";
|
|
version = "1.4.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.netfilter.org/projects/conntrack-tools/files/${pname}-${version}.tar.bz2";
|
|
sha256 = "0psx41bclqrh4514yzq03rvs3cq3scfpd1v4kkyxnic2hk65j22r";
|
|
};
|
|
|
|
buildInputs = [
|
|
libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue
|
|
libnetfilter_cttimeout libnetfilter_cthelper systemd libtirpc
|
|
];
|
|
nativeBuildInputs = [ flex bison pkgconfig ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://conntrack-tools.netfilter.org/";
|
|
description = "Connection tracking userspace tools";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|