8 buildPythonPackage rec {
10 version = libseccomp.version;
11 src = libseccomp.pythonsrc;
13 VERSION_RELEASE = version; # used by build system
15 nativeBuildInputs = [ cython ];
16 buildInputs = [ libseccomp ];
18 unpackCmd = "tar xf $curSrc";
19 doInstallCheck = true;
22 substituteInPlace ./setup.py \
23 --replace 'extra_objects=["../.libs/libseccomp.a"]' \
24 'libraries=["seccomp"]'
28 description = "Python bindings for libseccomp";
29 license = with licenses; [ lgpl21 ];
30 maintainers = with maintainers; [ thoughtpolice ];