pythonPackages.python-prctl: init at 1.7 (#42353)

This commit is contained in:
catern
2018-07-04 07:54:00 -04:00
committed by Orivej Desh (NixOS)
parent 46c9669878
commit eb8e68b41b
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, libcap
}:
buildPythonPackage rec {
pname = "python-prctl";
version = "1.7";
src = fetchPypi {
inherit pname version;
sha256 = "1njgixnavmwq45r3gpkhn1y760sax204clagg4gzwvvdc5bdbssp";
};
patches = [ ./skip_bad_tests.patch ];
buildInputs = [ libcap ];
meta = {
description = "Python(ic) interface to the linux prctl syscall";
homepage = https://github.com/seveas/python-prctl;
license = lib.licenses.gpl3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ catern ];
};
}