about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-prctl/default.nix
blob: 5d092f5e6eab7e52f7824a21bbe5349d05e7dc94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 ];
  };
}