kminion: Added nixosTests to passthru.tests

This commit is contained in:
Jonathan Davies
2025-08-17 14:07:16 +00:00
parent eba6963678
commit f39852844f
+11 -5
View File
@@ -1,7 +1,8 @@
{
lib,
fetchFromGitHub,
buildGoModule,
{ lib
, stdenv
, fetchFromGitHub
, buildGoModule
, nixosTests
}:
buildGoModule {
@@ -26,7 +27,12 @@ buildGoModule {
"-X main.builtAt=unknown"
];
passthru.updateScript = ./update.sh;
passthru = {
tests = {
inherit (nixosTests.prometheus-exporters) kafka;
};
updateScript = ./update.sh;
};
meta = with lib; {
description = "Feature-rich Prometheus exporter for Apache Kafka written in Go";