2018-07-04 12:54:00 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, libcap
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-prctl";
|
2020-11-29 14:04:40 +00:00
|
|
|
version = "1.8.1";
|
2018-07-04 12:54:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:40 +00:00
|
|
|
sha256 = "b4ca9a25a7d4f1ace4fffd1f3a2e64ef5208fe05f929f3edd5e27081ca7e67ce";
|
2018-07-04 12:54:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./skip_bad_tests.patch ];
|
|
|
|
buildInputs = [ libcap ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python(ic) interface to the linux prctl syscall";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/seveas/python-prctl";
|
2018-07-04 12:54:00 +01:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ catern ];
|
|
|
|
};
|
|
|
|
}
|