Skip to content

Commit c31d6cf

Browse files
authored
zabbix-cli: 3.1.3 -> 3.5.2, unbreak (#403152)
2 parents 97f19d6 + fea653f commit c31d6cf

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

pkgs/by-name/za/zabbix-cli/package.nix

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,28 @@
88

99
python3Packages.buildPythonApplication rec {
1010
pname = "zabbix-cli";
11-
version = "3.1.3";
11+
version = "3.5.2";
1212
pyproject = true;
1313

1414
src = fetchFromGitHub {
15-
owner = "usit-gd";
15+
owner = "unioslo";
1616
repo = "zabbix-cli";
1717
tag = version;
18-
hash = "sha256-hvLtc6owEOD29Y1oC7EmOOFp9P8hWOuj9N7qhtqkpks=";
18+
hash = "sha256-Sgt3kVbyzNJCSVUYErHNOrgc7Jd3tIwYhwOESRPeAyw=";
1919
};
2020

21-
pythonRelaxDeps = [ "click-repl" ];
22-
2321
build-system = with python3Packages; [
2422
hatchling
2523
];
2624

2725
dependencies =
2826
with python3Packages;
2927
[
30-
click-repl
3128
httpx
3229
httpx.optional-dependencies.socks
3330
packaging
3431
platformdirs
32+
prompt-toolkit
3533
pydantic
3634
requests
3735
rich
@@ -49,6 +47,7 @@ python3Packages.buildPythonApplication rec {
4947
freezegun
5048
inline-snapshot
5149
pytestCheckHook
50+
pytest-httpserver
5251
];
5352

5453
# Otherwise tests will fail to create directory
@@ -64,11 +63,11 @@ python3Packages.buildPythonApplication rec {
6463
command = "HOME=$(mktemp -d) zabbix-cli --version";
6564
};
6665

67-
meta = with lib; {
66+
meta = {
6867
description = "Command-line interface for Zabbix";
6968
homepage = "https://github.com/unioslo/zabbix-cli";
70-
license = licenses.gpl3Plus;
69+
license = lib.licenses.gpl3Plus;
7170
mainProgram = "zabbix-cli";
72-
maintainers = [ maintainers.anthonyroussel ];
71+
maintainers = [ lib.maintainers.anthonyroussel ];
7372
};
7473
}

0 commit comments

Comments
 (0)