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