a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
28 lines
729 B
Nix
28 lines
729 B
Nix
{ lib, 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 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 ];
|
|
};
|
|
|
|
}
|