Subject: [bug#76835] [PATCH v3 04/40] gnu: Add python-rrdtool.

From: Nicolas Graves <[email-masked]>
Date: Mon, 10 Mar 2025 03:16:09 +0100

* gnu/packages/monitoring.scm (python-rrdtool): New variable.
---
 gnu/packages/monitoring.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 01b554d9aa..b75500fc08 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2022 Hartmut Goebel <[email-masked]>
 ;;; Copyright © 2022 ( <[email-masked]>
 ;;; Copyright © 2022 Mathieu Laparie <[email-masked]>
+;;; Copyright © 2025 Nicolas Graves <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -839,6 +840,25 @@ (define-public pw
 @end itemize")
     (license license:bsd-2)))
 
+(define-public python-rrdtool
+  (package
+    (name "python-rrdtool")
+    (version "0.1.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "rrdtool" version))
+       (sha256
+        (base32 "0l8lbarzfwbwnq9jm9gv4mmrxgjlb9hbz27sa8b703qa7s5zy2jz"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f)) ; No tests in pypi archive
+    (inputs (list rrdtool))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/commx/python-rrdtool")
+    (synopsis "Python bindings for rrdtool")
+    (description "This package provides Python bindings for rrdtool.")
+    (license license:lgpl2.1)))
+
 (define-public python-statsd
   (package
     (name "python-statsd")
-- 
2.48.1