summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 15:11:20 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 15:11:20 +0000
commitc26faeee46c31d9f197bc895224e46ce31974bf2 (patch)
tree71fefa7529d332ee9ed9e1ba83cb4f5be887cad1
parentb7b2b5b6b933fe4ced658d7f2b445c0fd2237b8d (diff)
gnu: python-pyzabbix: Move to python-web.
This is an intermediate Python module communicating with Zabbix API via HTTP, the best place is (gnu packages python-web). * gnu/packages/monitoring.scm (python-pyzabbix): Move from here ... * gnu/packages/python-web.scm: ... to here. Change-Id: I7ef6b03b6f33310b2470b4adaf60be87dec19f6b
-rw-r--r--gnu/packages/monitoring.scm29
-rw-r--r--gnu/packages/python-web.scm29
2 files changed, 29 insertions, 29 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 7324e1d8538..b6060cf26be 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -404,35 +404,6 @@ monitoring system. It can configure and display various aspects of Zabbix
through a text-based interface.")
(license license:gpl3+)))
-(define-public python-pyzabbix
- (package
- (name "python-pyzabbix")
- (version "1.3.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/lukecyca/pyzabbix")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1dbs3bz1mjlvlg46ikhg5j7agwni61ljlpiziknklv95yp29n86v"))))
- (build-system pyproject-build-system)
- (arguments
- (list #:test-flags #~(list "tests")))
- (native-inputs
- (list python-pytest
- python-requests-mock
- python-setuptools))
- (propagated-inputs
- (list python-packaging
- python-requests))
- (home-page "https://github.com/lukecyca/pyzabbix")
- (synopsis "Python interface to the Zabbix API")
- (description
- "@code{pyzabbix} is a Python module for working with the Zabbix API.")
- (license license:lgpl2.1+)))
-
(define-public darkstat
(package
(name "darkstat")
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f3b725a9a29..b3159a0290e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2905,6 +2905,35 @@ the CloudFormation spec and additional checks. Includes checking valid values
for resource properties and best practices.")
(license license:expat)))
+(define-public python-pyzabbix
+ (package
+ (name "python-pyzabbix")
+ (version "1.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lukecyca/pyzabbix")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dbs3bz1mjlvlg46ikhg5j7agwni61ljlpiziknklv95yp29n86v"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-flags #~(list "tests")))
+ (native-inputs
+ (list python-pytest
+ python-requests-mock
+ python-setuptools))
+ (propagated-inputs
+ (list python-packaging
+ python-requests))
+ (home-page "https://github.com/lukecyca/pyzabbix")
+ (synopsis "Python interface to the Zabbix API")
+ (description
+ "@code{pyzabbix} is a Python module for working with the Zabbix API.")
+ (license license:lgpl2.1+)))
+
(define-public python-requests-cache
(package
(name "python-requests-cache")