GNU bug report logs -
#46490
[PATCH] gnu: Add temper-exporter.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Sat, 13 Feb 2021 15:27:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46490 in the body.
You can then email your comments to 46490 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#46490
; Package
guix-patches
.
(Sat, 13 Feb 2021 15:27:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Baines <mail <at> cbaines.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 13 Feb 2021 15:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/monitoring.scm (temper-exporter): New variable.
---
gnu/packages/monitoring.scm | 47 +++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 75a422921c..81e3d9c156 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -508,6 +508,53 @@ written in Go with pluggable metric collectors.")
(home-page "https://github.com/prometheus/node_exporter")
(license license:asl2.0)))
+(define-public temper-exporter
+ (let ((commit "a87bbab19c05609d62d9e4c7941178700c1ef84d")
+ (revision "0"))
+ (package
+ (name "temper-exporter")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/yrro/temper-exporter")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jk3ydi8s14q5kyl9j3gm2zrnwlb1jwjqpg5vqrgkbm9jrldrabc"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f ; One test failure:
+ ; test/test_exporter.py:33:
+ ; AssertionError
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-setup.py
+ (lambda _
+ (substitute* "setup.py"
+ (("git_ref = .*\n") "git_ref = ''\n"))
+ #t))
+ (add-after 'install 'install-udev-rules
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "debian/prometheus-temper-exporter.udev"
+ (string-append (assoc-ref outputs "out")
+ "/lib/udev/rules.d"))
+ #t)))))
+ (inputs
+ `(("python-prometheus-client" ,python-prometheus-client)
+ ("python-pyudev" ,python-pyudev)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-mock" ,python-pytest-mock)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://github.com/yrro/temper-exporter")
+ (synopsis "Prometheus exporter for PCSensor TEMPer sensor devices")
+ (description
+ "This package contains a Prometheus exporter for the TEMPer sensor
+devices.")
+ (license license:expat))))
+
(define-public fswatch
(package
(name "fswatch")
--
2.30.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46490
; Package
guix-patches
.
(Mon, 22 Feb 2021 10:12:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 46490 <at> debbugs.gnu.org (full text, mbox):
Christopher Baines <mail <at> cbaines.net> skribis:
> * gnu/packages/monitoring.scm (temper-exporter): New variable.
LGTM!
Ludo'.
Reply sent
to
Christopher Baines <mail <at> cbaines.net>
:
You have taken responsibility.
(Mon, 22 Feb 2021 22:23:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Christopher Baines <mail <at> cbaines.net>
:
bug acknowledged by developer.
(Mon, 22 Feb 2021 22:23:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 46490-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> * gnu/packages/monitoring.scm (temper-exporter): New variable.
>
> LGTM!
Thanks for taking a look, pushed as
5c7874adb00c834e55e58a9b964ebc5fd1bb872c.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 23 Mar 2021 11:25:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 34 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.