summary refs log tree commit diff
path: root/pkgs/development/libraries/libnetfilter_acct/default.nix
blob: 328688612b633b8ee07c999b5767114020547d49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, pkgconfig, libmnl }:

stdenv.mkDerivation rec {
  version = "1.0.3";
  pname = "libnetfilter_acct";

  src = fetchurl {
    url = "https://www.netfilter.org/projects/libnetfilter_acct/files/${pname}-${version}.tar.bz2";
    sha256 = "06lsjndgfjsgfjr43px2n2wk3nr7whz6r405mks3887y7vpwwl22";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libmnl ];

  meta = with stdenv.lib; {
    homepage = http://www.netfilter.org/projects/libnetfilter_acct/;
    description = "Userspace library providing interface to extended accounting infrastructure.";
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}