summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 15:20:43 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 15:20:51 +0000
commitfbde1b305402aae707e9570d45982aac851c5ed9 (patch)
tree17b6d698d4755b702b4166ab5192d0da728d583b
parentc26faeee46c31d9f197bc895224e46ce31974bf2 (diff)
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
-rw-r--r--gnu/packages/monitoring.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index b6060cf26be..79e12982529 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -726,6 +726,8 @@ written in Go with pluggable metric collectors.")
726 (license license:asl2.0))) 726 (license license:asl2.0)))
727 727
728(define-public temper-exporter 728(define-public temper-exporter
729 ;; XXX: No release or updates since 2020, consider to remove when starts
730 ;; failing, it might be abandoned project.
729 (let ((commit "a87bbab19c05609d62d9e4c7941178700c1ef84d") 731 (let ((commit "a87bbab19c05609d62d9e4c7941178700c1ef84d")
730 (revision "0")) 732 (revision "0"))
731 (package 733 (package
@@ -740,7 +742,7 @@ written in Go with pluggable metric collectors.")
740 (sha256 742 (sha256
741 (base32 743 (base32
742 "0jk3ydi8s14q5kyl9j3gm2zrnwlb1jwjqpg5vqrgkbm9jrldrabc")))) 744 "0jk3ydi8s14q5kyl9j3gm2zrnwlb1jwjqpg5vqrgkbm9jrldrabc"))))
743 (build-system python-build-system) 745 (build-system pyproject-build-system)
744 (arguments 746 (arguments
745 '(#:tests? #f ; One test failure: 747 '(#:tests? #f ; One test failure:
746 ; test/test_exporter.py:33: 748 ; test/test_exporter.py:33:
@@ -761,7 +763,7 @@ written in Go with pluggable metric collectors.")
761 (inputs 763 (inputs
762 (list python-prometheus-client python-pyudev)) 764 (list python-prometheus-client python-pyudev))
763 (native-inputs 765 (native-inputs
764 (list python-pytest python-pytest-mock python-pytest-runner)) 766 (list python-setuptools))
765 (home-page "https://github.com/yrro/temper-exporter") 767 (home-page "https://github.com/yrro/temper-exporter")
766 (synopsis "Prometheus exporter for PCSensor TEMPer sensor devices") 768 (synopsis "Prometheus exporter for PCSensor TEMPer sensor devices")
767 (description 769 (description