about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libcap-ng/default.nix
blob: 59aa5bbc0e5d0e755f9c36f05700ea3eed737ac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "libcap-ng";
  version = "0.8.4";

  src = fetchurl {
    url = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${version}.tar.gz";
    sha256 = "sha256-aFgdOzjnVTy29t33gTsfyZ5ShW8hQh97R3zlq9JgWoo=";
  };

  outputs = [ "out" "dev" "man" ];

  configureFlags = [
    "--without-python"
  ];

  meta = with lib; {
    description = "Library for working with POSIX capabilities";
    homepage = "https://people.redhat.com/sgrubb/libcap-ng/";
    platforms = platforms.linux;
    license = licenses.lgpl21;
  };
}