about summary refs log tree commit diff
path: root/pkgs/by-name/pr
diff options
context:
space:
mode:
authorMinerSebas <scherthan_sebastian@web.de>2024-02-01 15:00:35 +0100
committerMinerSebas <scherthan_sebastian@web.de>2024-02-01 15:00:35 +0100
commitda91e4d75b1c35e3a712887b20d4c9984649ff88 (patch)
treea15b031bc6ae9dbaef3a714f0b193106a152f66a /pkgs/by-name/pr
parentd1f031cbbdca78a1fc6ebf7fa77e72a34045187a (diff)
downloadnixlib-da91e4d75b1c35e3a712887b20d4c9984649ff88.tar
nixlib-da91e4d75b1c35e3a712887b20d4c9984649ff88.tar.gz
nixlib-da91e4d75b1c35e3a712887b20d4c9984649ff88.tar.bz2
nixlib-da91e4d75b1c35e3a712887b20d4c9984649ff88.tar.lz
nixlib-da91e4d75b1c35e3a712887b20d4c9984649ff88.tar.xz
nixlib-da91e4d75b1c35e3a712887b20d4c9984649ff88.tar.zst
nixlib-da91e4d75b1c35e3a712887b20d4c9984649ff88.zip
nixos/tests/prometheus-exporters: add test for prometheus-restic-exporter
Diffstat (limited to 'pkgs/by-name/pr')
-rw-r--r--pkgs/by-name/pr/prometheus-restic-exporter/package.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/by-name/pr/prometheus-restic-exporter/package.nix b/pkgs/by-name/pr/prometheus-restic-exporter/package.nix
index 89d8cbae499f..4e3736a573b6 100644
--- a/pkgs/by-name/pr/prometheus-restic-exporter/package.nix
+++ b/pkgs/by-name/pr/prometheus-restic-exporter/package.nix
@@ -3,6 +3,7 @@
 , fetchFromGitHub
 , python3
 , restic
+, nixosTests
 }:
 
 stdenvNoCC.mkDerivation rec {
@@ -32,6 +33,10 @@ stdenvNoCC.mkDerivation rec {
     runHook postInstall
   '';
 
+  passthru.tests = {
+    restic-exporter = nixosTests.prometheus-exporters.restic;
+  };
+
   meta = with lib; {
     description = "Prometheus exporter for the Restic backup system";
     homepage = "https://github.com/ngosang/restic-exporter";