blob: 473ef25e162e2bed0c20f7c7bf721de913f5883e (
plain)
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
27
28
|
{ stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "setproctitle";
version = "1.2";
src = fetchPypi {
inherit pname version;
sha256 = "9b4e48722dd96cbd66d5bf2eab930fff8546cd551dd8d774c8a319448bd381a6";
};
checkInputs = [ pytestCheckHook ];
# tries to compile programs with dependencies that aren't available
pytestFlagsArray = [ "--ignore=tests/setproctitle_test.py" ];
meta = with stdenv.lib; {
description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
homepage = "https://github.com/dvarrazzo/py-setproctitle";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ exi ];
};
}
|