1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "setproctitle";
10 version = "1.3.2";
11
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "sha256-ufuXkHyDDSYPoGWO1Yr9SKhrK4iqxSETXDUv9/00d/0=";
17 };
18
19 checkInputs = [ pytestCheckHook ];
20
21 # tries to compile programs with dependencies that aren't available
22 pytestFlagsArray = [ "--ignore=tests/setproctitle_test.py" ];
23
24 meta = with lib; {
25 description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
26 homepage = "https://github.com/dvarrazzo/py-setproctitle";
27 license = licenses.bsdOriginal;
28 maintainers = with maintainers; [ exi ];
29 };
30
31}