mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-19 19:52:28 +03:00
9fb8020e4e
This will probably be mandatory soon, and is a step in the right direction. Removes the deprecated meta.version, and move some meta sections to the end of the file where I should have put them in the first place.
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libnetfilter_conntrack-${version}";
|
|
version = "1.0.5";
|
|
|
|
src = fetchurl {
|
|
url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
|
|
sha256 = "0fnpja3g8s38cp7ipija5pvhfgna1gybn0z2bl276nk08fppv7gw";
|
|
};
|
|
|
|
buildInputs = [ libmnl ];
|
|
propagatedBuildInputs = [ libnfnetlink ];
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Userspace library providing an API to the in-kernel connection tracking state table";
|
|
longDescription = ''
|
|
libnetfilter_conntrack is a userspace library providing a programming interface (API) to the
|
|
in-kernel connection tracking state table. The library libnetfilter_conntrack has been
|
|
previously known as libnfnetlink_conntrack and libctnetlink. This library is currently used
|
|
by conntrack-tools among many other applications
|
|
'';
|
|
homepage = http://netfilter.org/projects/libnetfilter_conntrack/;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
}
|