at v206 22 lines 574 B view raw
1{ stdenv, fetchurl, python }: 2 3assert stdenv.isLinux; 4 5stdenv.mkDerivation rec { 6 name = "libcap-ng-${version}"; 7 version = "0.7.3"; 8 9 src = fetchurl { 10 url = "${meta.homepage}/${name}.tar.gz"; 11 sha256 = "1cavlcrpqi4imkmagjhw65br8rv2fsbhf68mm3lczr51sg44392w"; 12 }; 13 14 buildInputs = [ python ]; # ToDo? optional swig for python bindings 15 16 meta = { 17 description = "Library for working with POSIX capabilities"; 18 homepage = http://people.redhat.com/sgrubb/libcap-ng/; 19 platforms = stdenv.lib.platforms.linux; 20 license = stdenv.lib.licenses.lgpl21; 21 }; 22}