nixpkgs-suyu/pkgs/os-specific/linux/conntrack-tools/default.nix

30 lines
917 B
Nix
Raw Normal View History

{ 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";
2020-05-04 19:25:46 +02:00
version = "1.4.6";
src = fetchurl {
url = "https://www.netfilter.org/projects/conntrack-tools/files/${pname}-${version}.tar.bz2";
2020-05-04 19:25:46 +02:00
sha256 = "0psx41bclqrh4514yzq03rvs3cq3scfpd1v4kkyxnic2hk65j22r";
};
2017-01-22 02:17:35 +01:00
buildInputs = [
libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue
libnetfilter_cttimeout libnetfilter_cthelper systemd libtirpc
2017-01-22 02:17:35 +01:00
];
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 ];
};
}