Anthony ROUSSEL
2025-04-30 22:40:10 +02:00
parent 33a6127986
commit fea653ff05
+8 -9
View File
@@ -8,18 +8,16 @@
python3Packages.buildPythonApplication rec {
pname = "zabbix-cli";
version = "3.1.3";
version = "3.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "usit-gd";
owner = "unioslo";
repo = "zabbix-cli";
tag = version;
hash = "sha256-hvLtc6owEOD29Y1oC7EmOOFp9P8hWOuj9N7qhtqkpks=";
hash = "sha256-Sgt3kVbyzNJCSVUYErHNOrgc7Jd3tIwYhwOESRPeAyw=";
};
pythonRelaxDeps = [ "click-repl" ];
build-system = with python3Packages; [
hatchling
];
@@ -27,11 +25,11 @@ python3Packages.buildPythonApplication rec {
dependencies =
with python3Packages;
[
click-repl
httpx
httpx.optional-dependencies.socks
packaging
platformdirs
prompt-toolkit
pydantic
requests
rich
@@ -49,6 +47,7 @@ python3Packages.buildPythonApplication rec {
freezegun
inline-snapshot
pytestCheckHook
pytest-httpserver
];
# Otherwise tests will fail to create directory
@@ -64,11 +63,11 @@ python3Packages.buildPythonApplication rec {
command = "HOME=$(mktemp -d) zabbix-cli --version";
};
meta = with lib; {
meta = {
description = "Command-line interface for Zabbix";
homepage = "https://github.com/unioslo/zabbix-cli";
license = licenses.gpl3Plus;
license = lib.licenses.gpl3Plus;
mainProgram = "zabbix-cli";
maintainers = [ maintainers.anthonyroussel ];
maintainers = [ lib.maintainers.anthonyroussel ];
};
}