summary refs log tree commit diff
path: root/pkgs/development/libraries/libnetfilter_acct/default.nix
blob: 72766471d2f1681399d8ad9a0ea923adc7e4b8ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
  buildInputs = [ libmnl ];

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