gnu: Add python-statsd.

* gnu/packages/monitoring.scm (python-statsd): New variable.
This commit is contained in:
Hartmut Goebel 2022-07-21 20:06:18 +02:00
parent 59625e3cc9
commit b5801efaa3
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -11,6 +11,7 @@
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -743,3 +744,21 @@ (define-public pw
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)))