mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
30 lines
916 B
Nix
30 lines
916 B
Nix
{ fetchurl, lib, stdenv, flex, bison, pkg-config, libmnl, libnfnetlink
|
|
, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout
|
|
, libnetfilter_cthelper, systemd
|
|
, libtirpc
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "conntrack-tools";
|
|
version = "1.4.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.netfilter.org/projects/conntrack-tools/files/${pname}-${version}.tar.bz2";
|
|
sha256 = "sha256-CZ3rz1foFpDO1X9Ra0k1iKc1GPSMFNZW+COym0/CS10=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue
|
|
libnetfilter_cttimeout libnetfilter_cthelper systemd libtirpc
|
|
];
|
|
nativeBuildInputs = [ flex bison pkg-config ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://conntrack-tools.netfilter.org/";
|
|
description = "Connection tracking userspace tools";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|