tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.setproctitle: 1.3.6 -> 1.3.7
SandaruKasa
6 months ago
daaa0f2d
77c8deff
+18
-15
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
setproctitle
default.nix
+18
-15
pkgs/development/python-modules/setproctitle/default.nix
···
1
{
2
lib,
3
buildPythonPackage,
4
-
pythonOlder,
5
-
fetchPypi,
6
setuptools,
7
pytestCheckHook,
0
8
}:
9
10
buildPythonPackage rec {
11
pname = "setproctitle";
12
-
version = "1.3.6";
13
pyproject = true;
14
15
-
disabled = pythonOlder "3.6";
16
-
17
-
src = fetchPypi {
18
-
inherit pname version;
19
-
hash = "sha256-yfMrlscAuzhPM/fPB5VLtgnTXdgnUs71f7LuCWhAkWk=";
20
};
21
22
-
nativeBuildInputs = [ setuptools ];
23
24
-
nativeCheckInputs = [ pytestCheckHook ];
0
0
0
25
26
-
# tries to compile programs with dependencies that aren't available
27
-
disabledTestPaths = [ "tests/setproctitle_test.py" ];
28
29
-
meta = with lib; {
30
description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
31
homepage = "https://github.com/dvarrazzo/py-setproctitle";
32
-
license = licenses.bsdOriginal;
33
-
maintainers = with maintainers; [ exi ];
0
34
};
35
}
···
1
{
2
lib,
3
buildPythonPackage,
4
+
fetchFromGitHub,
0
5
setuptools,
6
pytestCheckHook,
7
+
procps,
8
}:
9
10
buildPythonPackage rec {
11
pname = "setproctitle";
12
+
version = "1.3.7";
13
pyproject = true;
14
15
+
src = fetchFromGitHub {
16
+
owner = "dvarrazzo";
17
+
repo = "py-setproctitle";
18
+
tag = "version-${version}";
19
+
hash = "sha256-dfOdtfOXRAoCQLW307+YMsFIWRv4CupbKUxckev1oUw=";
20
};
21
22
+
build-system = [ setuptools ];
23
24
+
nativeCheckInputs = [
25
+
pytestCheckHook
26
+
procps
27
+
];
28
29
+
pythonImportsCheck = [ "setproctitle" ];
0
30
31
+
meta = {
32
description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
33
homepage = "https://github.com/dvarrazzo/py-setproctitle";
34
+
changelog = "https://github.com/dvarrazzo/py-setproctitle/blob/${src.tag}/HISTORY.rst";
35
+
license = lib.licenses.bsd3;
36
+
maintainers = with lib.maintainers; [ exi ];
37
};
38
}