htgoebel pushed a commit to branch master
in repository guix.
commit b5801efaa33af9b46274b67807d4e665b2b685c1
Author: Hartmut Goebel <[email protected]>
AuthorDate: Thu Jul 21 20:06:18 2022 +0200
gnu: Add python-statsd.
* gnu/packages/monitoring.scm (python-statsd): New variable.
---
gnu/packages/monitoring.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 1694f94b98..c14d62c312 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2021 Stefan Reichör <[email protected]>
;;; Copyright © 2021 Raphaël Mélotte <[email protected]>
;;; Copyright © 2022 Paul A. Patience <[email protected]>
+;;; Copyright © 2022 Hartmut Goebel <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -743,3 +744,21 @@ snapshots, without displaying anything. When put into the
foreground again,
display resumes.
@end itemize")
(license license:bsd-2)))
+
+(define-public python-statsd
+ (package
+ (name "python-statsd")
+ (version "3.3.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "statsd" version))
+ (sha256
+ (base32
+ "07yxnlalvcglgwa9pjs1clwrmwx7a4575jai7q05jz3g4i6dprp3"))))
+ (build-system python-build-system)
+ (native-inputs (list python-mock python-nose))
+ (home-page "https://github.com/jsocol/pystatsd")
+ (synopsis "Simple StatsD client")
+ (description "StatsD is a friendly front-end to Graphite. This package
+provides a simple Python client for the StatsD daemon.")
+ (license license:expat)))