2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmnl }:
|
2014-11-08 22:04:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libnetfilter_cthelper";
|
2014-11-08 22:04:49 +00:00
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://netfilter.org/projects/libnetfilter_cthelper/files/${pname}-${version}.tar.bz2";
|
2014-11-08 22:04:49 +00:00
|
|
|
sha256 = "07618e71c4d9a6b6b3dc1986540486ee310a9838ba754926c7d14a17d8fccf3d";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ libmnl ];
|
2014-11-08 22:04:49 +00:00
|
|
|
|
|
|
|
meta = {
|
2015-04-28 08:54:58 +00:00
|
|
|
description = "Userspace library that provides the programming interface to the user-space connection tracking helper infrastructure";
|
2014-11-08 22:04:49 +00:00
|
|
|
longDescription = ''
|
|
|
|
libnetfilter_cthelper is the userspace library that provides the programming interface
|
|
|
|
to the user-space helper infrastructure available since Linux kernel 3.6. With this
|
|
|
|
library, you register, configure, enable and disable user-space helpers. This library
|
|
|
|
is used by conntrack-tools.
|
|
|
|
'';
|
2021-07-31 17:01:50 +00:00
|
|
|
homepage = "https://www.netfilter.org/projects/libnetfilter_cthelper/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2014-11-08 22:04:49 +00:00
|
|
|
};
|
|
|
|
}
|