nixpkgs/pkgs/development/libraries/libnftnl/default.nix

23 lines
677 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, libmnl }:
2014-08-23 22:11:37 +00:00
stdenv.mkDerivation rec {
2021-05-25 12:55:34 +00:00
version = "1.2.0";
pname = "libnftnl";
2014-08-23 22:11:37 +00:00
src = fetchurl {
url = "https://netfilter.org/projects/${pname}/files/${pname}-${version}.tar.bz2";
2021-05-25 12:55:34 +00:00
sha256 = "1xblq1cbcxhr6qmjpy98i1qdza148idgz99vbhjc7s4vzvfizc4h";
2014-08-23 22:11:37 +00:00
};
nativeBuildInputs = [ pkg-config ];
2017-01-22 01:17:16 +00:00
buildInputs = [ libmnl ];
2014-08-23 22:11:37 +00:00
meta = with lib; {
2016-05-09 13:35:41 +00:00
description = "A userspace library providing a low-level netlink API to the in-kernel nf_tables subsystem";
homepage = "http://netfilter.org/projects/libnftnl";
2014-08-23 22:11:37 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ fpletz ];
2014-08-23 22:11:37 +00:00
};
}