Unverified Commit 4e2bbcf7 authored by Colin's avatar Colin Committed by GitHub
Browse files

treewide: remove "with lib" from all Prometheus exporters (#453188)

parents 31f1a9a8 6947291c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -40,13 +40,13 @@ python3Packages.buildPythonApplication rec {
    pytest-mock
  ];

  meta = with lib; {
  meta = {
    description = "Prometheus exporter for Borgmatic";
    homepage = "https://github.com/maxim-mityutko/borgmatic-exporter";
    changelog = "https://github.com/maxim-mityutko/borgmatic-exporter/releases/tag/${src.tag}";
    license = licenses.mit;
    maintainers = with maintainers; [ flandweber ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ flandweber ];
    mainProgram = "borgmatic-exporter";
    platforms = platforms.unix;
    platforms = lib.platforms.unix;
  };
}
+4 −4
Original line number Diff line number Diff line
@@ -42,12 +42,12 @@ buildGoModule rec {
    patchelf --add-needed libnvidia-ml.so "$out/bin/dcgm-exporter"
  '';

  meta = with lib; {
  meta = {
    description = "NVIDIA GPU metrics exporter for Prometheus leveraging DCGM";
    homepage = "https://github.com/NVIDIA/dcgm-exporter";
    license = licenses.asl20;
    teams = [ teams.deshaw ];
    license = lib.licenses.asl20;
    teams = [ lib.teams.deshaw ];
    mainProgram = "dcgm-exporter";
    platforms = platforms.linux;
    platforms = lib.platforms.linux;
  };
}
+3 −3
Original line number Diff line number Diff line
@@ -31,11 +31,11 @@ python3.pkgs.buildPythonApplication {
    "deluge_exporter"
  ];

  meta = with lib; {
  meta = {
    description = "Prometheus exporter for Deluge";
    homepage = "https://github.com/ibizaman/deluge_exporter";
    license = licenses.isc;
    maintainers = with maintainers; [ ibizaman ];
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ ibizaman ];
    mainProgram = "deluge-exporter";
  };
}
+3 −3
Original line number Diff line number Diff line
@@ -16,10 +16,10 @@ buildGoModule {

  vendorHash = "sha256-u7X8v7h1aL8B1el4jFzGRKHvnaK+Rz0OCitaC6xgyjw=";

  meta = with lib; {
  meta = {
    homepage = "https://github.com/chrj/prometheus-dnssec-exporter";
    description = "DNSSEC Exporter for Prometheus";
    license = licenses.mit;
    maintainers = with maintainers; [ swendel ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ swendel ];
  };
}
+3 −3
Original line number Diff line number Diff line
@@ -16,11 +16,11 @@ buildGoModule rec {

  vendorHash = "sha256-NAaVz5AqhfaEiWqBAeQZVWwjMIwX9jEw0oycXq7uLNw=";

  meta = with lib; {
  meta = {
    description = "Elasticsearch stats exporter for Prometheus";
    mainProgram = "elasticsearch_exporter";
    homepage = "https://github.com/prometheus-community/elasticsearch_exporter";
    license = licenses.asl20;
    teams = [ teams.deshaw ];
    license = lib.licenses.asl20;
    teams = [ lib.teams.deshaw ];
  };
}
Loading