depot/third_party/nixpkgs/pkgs/development/python-modules/python-prctl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
580 B
Nix

{ 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 ];
};
}