1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "libcap-ng";
5 version = "0.8.5";
6
7 src = fetchurl {
8 url = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${version}.tar.gz";
9 hash = "sha256-O6UpTRy9+pivqs+8ALavntK4PoohgXGF39hEzIx6xv8=";
10 };
11
12 outputs = [ "out" "dev" "man" ];
13
14 configureFlags = [
15 "--without-python"
16 ];
17
18 meta = with lib; {
19 description = "Library for working with POSIX capabilities";
20 homepage = "https://people.redhat.com/sgrubb/libcap-ng/";
21 platforms = platforms.linux;
22 license = licenses.lgpl21;
23 };
24}