8 buildPythonPackage rec {
9 pname = "python-prctl";
13 inherit pname version;
14 sha256 = "b4ca9a25a7d4f1ace4fffd1f3a2e64ef5208fe05f929f3edd5e27081ca7e67ce";
17 buildInputs = [ libcap ];
19 nativeCheckInputs = [ pytestCheckHook ];
22 # Intel MPX support was removed in GCC 9.1 & Linux kernel 5.6
25 # The Nix build sandbox has no_new_privs already enabled
28 # The Nix build sandbox has seccomp already enabled
31 # This will fail if prctl(PR_SET_SPECULATION_CTRL, PR_SPEC_FORCE_DISABLE)
32 # has been set system-wide, even outside the sandbox
33 "test_speculation_ctrl"
37 description = "Python(ic) interface to the linux prctl syscall";
38 homepage = "https://github.com/seveas/python-prctl";
39 license = lib.licenses.gpl3;
40 platforms = lib.platforms.linux;
41 maintainers = with lib.maintainers; [ catern ];