add libcap_ng

This commit is contained in:
Vladimír Čunát
2013-02-24 11:19:35 +01:00
parent 07d26cea06
commit f6b28fad73
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,22 @@
{ stdenv, fetchurl, python }:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
name = "libcap-ng-${version}";
version = "0.7.3";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.gz";
sha256 = "1cavlcrpqi4imkmagjhw65br8rv2fsbhf68mm3lczr51sg44392w";
};
buildInputs = [ python ]; # ToDo? optional swig for python bindings
meta = {
description = "Library for working with POSIX capabilities";
homepage = http://people.redhat.com/sgrubb/libcap-ng/;
platforms = stdenv.lib.platforms.linux;
license = "LGPLv2.1";
};
}