1 { buildPythonPackage, lib
5 buildPythonPackage rec {
7 version = libseccomp.version;
8 src = libseccomp.pythonsrc;
10 VERSION_RELEASE = version; # used by build system
12 nativeBuildInputs = [ cython ];
13 buildInputs = [ libseccomp ];
15 unpackCmd = "tar xf $curSrc";
16 doInstallCheck = true;
19 substituteInPlace ./setup.py \
20 --replace 'extra_objects=["../.libs/libseccomp.a"]' \
21 'libraries=["seccomp"]'
25 description = "Python bindings for libseccomp";
26 license = with licenses; [ lgpl21 ];
27 maintainers = with maintainers; [ thoughtpolice ];