~ruther/guix-local

fbde1b305402aae707e9570d45982aac851c5ed9 — Sharlatan Hellseher 2 months ago c26faee
gnu: temper-exporter: Switch to pypproject.

* gnu/packages/monitoring.scm (temper-exporter):
[build-system]: Switch to pypproject-build-system.
[native-inputs]: Remove python-pytest, python-pytest-mock, and
python-pytest-runner; add python-setuptools.

Change-Id: I492c29f1141f5601affd883607c7904928b0c83f
1 files changed, 4 insertions(+), 2 deletions(-)

M gnu/packages/monitoring.scm
M gnu/packages/monitoring.scm => gnu/packages/monitoring.scm +4 -2
@@ 726,6 726,8 @@ written in Go with pluggable metric collectors.")
    (license license:asl2.0)))

(define-public temper-exporter
  ;; XXX: No release or updates since 2020, consider to remove when starts
  ;; failing, it might be abandoned project.
  (let ((commit "a87bbab19c05609d62d9e4c7941178700c1ef84d")
        (revision "0"))
    (package


@@ 740,7 742,7 @@ written in Go with pluggable metric collectors.")
                (sha256
                 (base32
                  "0jk3ydi8s14q5kyl9j3gm2zrnwlb1jwjqpg5vqrgkbm9jrldrabc"))))
      (build-system python-build-system)
      (build-system pyproject-build-system)
      (arguments
       '(#:tests? #f                    ; One test failure:
                                        ; test/test_exporter.py:33:


@@ 761,7 763,7 @@ written in Go with pluggable metric collectors.")
      (inputs
       (list python-prometheus-client python-pyudev))
      (native-inputs
       (list python-pytest python-pytest-mock python-pytest-runner))
       (list python-setuptools))
      (home-page "https://github.com/yrro/temper-exporter")
      (synopsis "Prometheus exporter for PCSensor TEMPer sensor devices")
      (description