Unverified Commit f3985284 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

kminion: Added nixosTests to passthru.tests

parent eba69636
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
{
  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";