2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libmnl }:
|
2019-01-15 22:09:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0.3";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libnetfilter_acct";
|
2019-01-15 22:09:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://www.netfilter.org/projects/libnetfilter_acct/files/${pname}-${version}.tar.bz2";
|
2019-01-15 22:09:04 +00:00
|
|
|
sha256 = "06lsjndgfjsgfjr43px2n2wk3nr7whz6r405mks3887y7vpwwl22";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-01-15 22:09:04 +00:00
|
|
|
buildInputs = [ libmnl ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2021-07-31 17:01:50 +00:00
|
|
|
homepage = "https://www.netfilter.org/projects/libnetfilter_acct/";
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "Userspace library providing interface to extended accounting infrastructure";
|
2019-01-15 22:09:04 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|