[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29768] [PATCH 3/5] gnu: Add python-whisper.
From: |
Ricardo Wurmus |
Subject: |
[bug#29768] [PATCH 3/5] gnu: Add python-whisper. |
Date: |
Tue, 19 Dec 2017 09:04:31 +0100 |
* gnu/packages/monitoring.scm (python-whisper, python2-whisper): New
variables.
---
gnu/packages/monitoring.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index c136265c5..f9701f60f 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Ludovic Courtès <address@hidden>
+;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +22,7 @@
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system perl)
+ #:use-module (guix build-system python)
#:use-module (guix build-system gnu)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
@@ -122,3 +124,28 @@ etc. via a Web interface. Features include:
notification and problem history, log file, etc.
@end itemize\n")
(license license:gpl2)))
+
+(define-public python-whisper
+ (package
+ (name "python-whisper")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "whisper" version))
+ (sha256
+ (base32
+ "1v1bi3fl1i6p4z4ki692bykrkw6907dn3mfq0151f70lvi3zpns3"))))
+ (build-system python-build-system)
+ (home-page "http://graphiteapp.org/")
+ (synopsis "Fixed size round-robin style database for Graphite")
+ (description "Whisper is one of three components within the Graphite
+project. Whisper is a fixed-size database, similar in design and purpose to
+RRD (round-robin-database). It provides fast, reliable storage of numeric
+data over time. Whisper allows for higher resolution (seconds per point) of
+recent data to degrade into lower resolutions for long-term retention of
+historical data.")
+ (license license:asl2.0)))
+
+(define-public python2-whisper
+ (package-with-python2 python-whisper))
--
2.15.0