2013-02-24 10:19:35 +00:00
|
|
|
{ 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;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2013-02-24 10:19:35 +00:00
|
|
|
};
|
|
|
|
}
|