Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, libcap 5}: 6 7buildPythonPackage rec { 8 pname = "python-prctl"; 9 version = "1.7"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1njgixnavmwq45r3gpkhn1y760sax204clagg4gzwvvdc5bdbssp"; 14 }; 15 16 patches = [ ./skip_bad_tests.patch ]; 17 buildInputs = [ libcap ]; 18 19 meta = { 20 description = "Python(ic) interface to the linux prctl syscall"; 21 homepage = "https://github.com/seveas/python-prctl"; 22 license = lib.licenses.gpl3; 23 platforms = lib.platforms.linux; 24 maintainers = with lib.maintainers; [ catern ]; 25 }; 26}