Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ff51213cbc24
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a111712fe518
Choose a head ref
  • 13 commits
  • 35 files changed
  • 10 contributors

Commits on Jun 18, 2020

  1. clojure: 1.10.1.507 -> 1.10.1.547

    Patch no longer need, added upstream:
    https://clojure.atlassian.net/browse/TDEPS-150
    jlesquembre committed Jun 18, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    CRBroughton Craig R Broughton
    Copy the full SHA
    64b2789 View commit details
  2. Copy the full SHA
    7449a32 View commit details
  3. asio: 1.12 -> 1.16

    1.16 will now build on Darwin, properly mark it as such.
    
    Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
    Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
    siriobalmelli and veprbl committed Jun 18, 2020
    Copy the full SHA
    a9a0e64 View commit details

Commits on Jun 19, 2020

  1. Copy the full SHA
    221fdca View commit details
  2. Merge pull request #90720 from jlesquembre/clj-547

    clojure: 1.10.1.507 -> 1.10.1.547
    danieldk authored Jun 19, 2020
    Copy the full SHA
    ad6c43f View commit details
  3. Copy the full SHA
    75d7d42 View commit details
  4. Copy the full SHA
    6570e4a View commit details
  5. eclipses: 2020-03 -> 2020-06

    PR #91113
    jerith666 authored and rycee committed Jun 19, 2020
    Copy the full SHA
    5383d2d View commit details
  6. Merge pull request #90098 from siriobalmelli-foss/fix/asio

    asio: 1.12 -> 1.16
    veprbl authored Jun 19, 2020
    Copy the full SHA
    96c4c0c View commit details
  7. mdcat: 0.18.2 -> 0.19.0

    davidtwco authored and teto committed Jun 19, 2020
    Copy the full SHA
    619f370 View commit details
  8. jhead: 3.03 -> 3.04

    rycee committed Jun 19, 2020
    Copy the full SHA
    7395b11 View commit details
  9. Merge pull request #90729 from WilliButz/exporter-passthru-tests

    prometheus-exporters: expose tests in exporter definitions
    Ma27 authored Jun 19, 2020
    Copy the full SHA
    649b039 View commit details
  10. Merge pull request #91115 from Frostman/blackbox-exporter-0.17.0

    blackbox-exporter: 0.16.0 -> 0.17.0
    Ma27 authored Jun 19, 2020
    Copy the full SHA
    a111712 View commit details
Showing with 118 additions and 108 deletions.
  1. +10 −10 pkgs/applications/editors/eclipse/default.nix
  2. +6 −5 pkgs/applications/editors/eclipse/plugins.nix
  3. +0 −23 pkgs/development/interpreters/clojure/TDEPS-150.patch
  4. +2 −4 pkgs/development/interpreters/clojure/default.nix
  5. +0 −6 pkgs/development/libraries/asio/1.12.nix
  6. +6 −0 pkgs/development/libraries/asio/default.nix
  7. +1 −1 pkgs/development/libraries/asio/generic.nix
  8. +3 −1 pkgs/servers/monitoring/prometheus/apcupsd-exporter.nix
  9. +3 −1 pkgs/servers/monitoring/prometheus/bind-exporter.nix
  10. +6 −4 pkgs/servers/monitoring/prometheus/blackbox-exporter.nix
  11. +3 −1 pkgs/servers/monitoring/prometheus/collectd-exporter.nix
  12. +3 −1 pkgs/servers/monitoring/prometheus/cups-exporter.nix
  13. +4 −2 pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix
  14. +3 −1 pkgs/servers/monitoring/prometheus/dovecot-exporter.nix
  15. +3 −1 pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix
  16. +3 −1 pkgs/servers/monitoring/prometheus/json-exporter.nix
  17. +3 −1 pkgs/servers/monitoring/prometheus/keylight-exporter.nix
  18. +3 −1 pkgs/servers/monitoring/prometheus/lnd-exporter.nix
  19. +3 −1 pkgs/servers/monitoring/prometheus/mail-exporter.nix
  20. +4 −2 pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix
  21. +3 −1 pkgs/servers/monitoring/prometheus/nextcloud-exporter.nix
  22. +3 −1 pkgs/servers/monitoring/prometheus/nginx-exporter.nix
  23. +3 −1 pkgs/servers/monitoring/prometheus/node-exporter.nix
  24. +4 −2 pkgs/servers/monitoring/prometheus/postfix-exporter.nix
  25. +3 −1 pkgs/servers/monitoring/prometheus/postgres-exporter.nix
  26. +3 −1 pkgs/servers/monitoring/prometheus/redis-exporter.nix
  27. +3 −1 pkgs/servers/monitoring/prometheus/snmp-exporter.nix
  28. +3 −1 pkgs/servers/monitoring/prometheus/surfboard-exporter.nix
  29. +3 −1 pkgs/servers/monitoring/prometheus/tor-exporter.nix
  30. +4 −2 pkgs/servers/monitoring/prometheus/varnish-exporter.nix
  31. +3 −1 pkgs/servers/monitoring/prometheus/wireguard-exporter.nix
  32. +7 −14 pkgs/tools/graphics/jhead/default.nix
  33. +3 −9 pkgs/tools/misc/diffoscope/default.nix
  34. +3 −3 pkgs/tools/text/mdcat/default.nix
  35. +1 −2 pkgs/top-level/all-packages.nix
20 changes: 10 additions & 10 deletions pkgs/applications/editors/eclipse/default.nix
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@

assert stdenv ? glibc;

# http://download.eclipse.org/eclipse/downloads/ is the main place to
# https://download.eclipse.org/eclipse/downloads/ is the main place to
# find the downloads needed for new versions

let
platform_major = "4";
platform_minor = "15";
platform_minor = "16";
year = "2020";
month = "03";
timestamp = "${year}${month}050155";
month = "06";
timestamp = "${year}${month}040540";
gtk = gtk3;
in rec {

@@ -33,8 +33,8 @@ in rec {
description = "Eclipse IDE for C/C++ Developers";
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-incubation-linux-gtk-x86_64.tar.gz";
sha512 = "2wy4a3p347fajr9zsfz1zlvz6jpy3vficdry27m5fs0azfmxmy2cfns5hh18sin4xqq3jvqppfqxh41rzcpcmiq12zhc6cz42brqgxw";
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
sha512 = "0vfxzsvfv9zmd0ckrdpziijzskh13g8kgk8ibkwmhmqmj14a3visk6yvn5q2s0knkswl1zy9arinw0mxvqh72dfj63vwc01vhp06lyr";
};
};

@@ -46,7 +46,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-modeling-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
sha512 = "0qccsclay9000sqrymm8hkg70a4jcvd70vymw1kkxsklcs7dnrhch55an98gbzf9r0jgd1ap62a4hyxlnm6hdqqniwcgdza0i4nwwgj";
sha512 = "29nr1x3fgdw5ygrppfma6yi1iaqvad24jyb58sag735z1nz4ymajcwakg52mlv3s19d4w8cxpskh1r459mwz7j769qplymspqifvlkd";
};
};

@@ -58,7 +58,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-platform-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
sha512 = "01rv5x7qqm0a2p30828z2snms3nb2kjx9si63sr5rdkdgr3vbh6xq8n8fn757dqazmpz9zskmwxxmbxnwycfllhgb8msb77pcy3fpg7";
sha512 = "2pm4xam0jn9x34k1hr5rn67fpvc6snlkpcfn4bzdcf2xjv9f3dr2039mkcrhri5nv2bj6fkbai6aga6fmmrb3na33b7ir7sqlqqn61b";
};
};

@@ -83,7 +83,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
sha512 = "33ra8qslwz73240xzjvr751lpl94drlcf425a7kxngq1qla2cda7gxr71bxlr9fm2hrqq0h097ihmg0ix9hv2dmwnc76gp4hwwrlk41";
sha512 = "195c07yabmi2a42qxfmpbv6ychpj15bbpgyp40s1pcdb3p875vcqjinq9dqy2sixzwjhfdrggpvwihav87rkih9arzmk2s4cm31mjqd";
};
};

@@ -95,7 +95,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-java-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
sha512 = "0ffa1q19z31j8i552mp9zg4v0p4iv002cvlzh49ia8hi0hgk75pbkp6vxlr75jz0as03n71f0ww8xbflji31qgwfmy6rs1rzqihfff9";
sha512 = "3n8jllgxarrxgz16n7zb4bgaqxk0m9frcxrgdxvy25ar2iw8js4q4ir3cc20y4ri3ii74rf3jy6n4ndhm57miwqh4p2wqzhfjlinirb";
};
};

11 changes: 6 additions & 5 deletions pkgs/applications/editors/eclipse/plugins.nix
Original file line number Diff line number Diff line change
@@ -254,12 +254,13 @@ rec {

cdt = buildEclipseUpdateSite rec {
name = "cdt-${version}";
version = "9.11.0";
# find current version at https://www.eclipse.org/cdt/downloads.php
version = "9.11.1";

src = fetchzip {
stripRoot = false;
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/9.11/${name}/${name}.zip";
sha256 = "1730w6rbv649nzfalfd10p2ph0z9rbrrcflga0n1dpmg181xh9lk";
sha256 = "00cpaal6jm9xb4nbkljrf381r3lf1rb1p06vrbn4l0lxnbckb9df";
};

meta = with stdenv.lib; {
@@ -474,12 +475,12 @@ rec {

jdt = buildEclipseUpdateSite rec {
name = "jdt-${version}";
version = "4.15";
version = "4.16";

src = fetchzip {
stripRoot = false;
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-${version}-202003050155/org.eclipse.jdt-${version}.zip";
sha256 = "1dm4qgfb6rm7w0dk8br071c7wy0ybp7zrwvr3i02c2bxzy2psz7q";
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-${version}-202006040540/org.eclipse.jdt-${version}.zip";
sha256 = "0g349hg2nv1y628daxf84396wpf33z52wxv0gawlgrirbbizaznd";
};

meta = with stdenv.lib; {
23 changes: 0 additions & 23 deletions pkgs/development/interpreters/clojure/TDEPS-150.patch

This file was deleted.

6 changes: 2 additions & 4 deletions pkgs/development/interpreters/clojure/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,13 @@

stdenv.mkDerivation rec {
pname = "clojure";
version = "1.10.1.507";
version = "1.10.1.547";

src = fetchurl {
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
sha256 = "1k0jwa3481g3mkalwlb9gkcz9aq9zjpwmzckv823fr2d8djp41cc";
sha256 = "06lg4z3q0fzxlbmx92g5qb0w3nw83dbwkzh3zjdy9ixrpm7b84i0";
};

patches = [ ./TDEPS-150.patch ];

buildInputs = [ makeWrapper ];

installPhase =
6 changes: 0 additions & 6 deletions pkgs/development/libraries/asio/1.12.nix

This file was deleted.

6 changes: 6 additions & 0 deletions pkgs/development/libraries/asio/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{callPackage, ... } @ args:

callPackage ./generic.nix (args // {
version = "1.16.1";
sha256 = "1333ca6lnsdck4fsgjpbqf4lagxsnbg9970wxlsrinmwvdvdnwg2";
})
2 changes: 1 addition & 1 deletion pkgs/development/libraries/asio/generic.nix
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
homepage = "http://asio.sourceforge.net/";
description = "Cross-platform C++ library for network and low-level I/O programming";
license = licenses.boost;
broken = stdenv.isDarwin; # test when updating to >=1.12.1
broken = stdenv.isDarwin && stdenv.lib.versionOlder version "1.16.1";
platforms = platforms.unix;
};
}
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/apcupsd-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
pname = "apcupsd-exporter";
@@ -13,6 +13,8 @@ buildGoModule rec {

vendorSha256 = "09x8y8pmgfn897hvnk122ry460y12b8a7y5fafri5wn9vxab9r82";

passthru.tests = { inherit (nixosTests.prometheus-exporters) apcupsd; };

meta = with stdenv.lib; {
description = "Provides a Prometheus exporter for the apcupsd Network Information Server (NIS)";
homepage = "https://github.com/mdlayher/apcupsd_exporter";
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/bind-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:

buildGoPackage rec {
pname = "bind_exporter";
@@ -14,6 +14,8 @@ buildGoPackage rec {
sha256 = "1nd6pc1z627w4x55vd42zfhlqxxjmfsa9lyn0g6qq19k4l85v1qm";
};

passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };

meta = with stdenv.lib; {
description = "Prometheus exporter for bind9 server";
homepage = "https://github.com/digitalocean/bind_exporter";
10 changes: 6 additions & 4 deletions pkgs/servers/monitoring/prometheus/blackbox-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:

buildGoPackage rec {
pname = "blackbox_exporter";
version = "0.16.0";
version = "0.17.0";
rev = version;

goPackagePath = "github.com/prometheus/blackbox_exporter";
@@ -11,17 +11,19 @@ buildGoPackage rec {
rev = "v${version}";
owner = "prometheus";
repo = "blackbox_exporter";
sha256 = "1zbf3ljasv0r91rrmk3mj5nhimaf7xg3aih1ldz27rh5yww7gyzg";
sha256 = "00ganz6wfwyb9avkp2fr4bwpzvfiffsmpgndl8zp80bk7m1b3mnz";
};

# dns-lookup is performed for the tests
doCheck = false;

passthru.tests = { inherit (nixosTests.prometheus-exporters) blackbox; };

meta = with stdenv.lib; {
description = "Blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP";
homepage = "https://github.com/prometheus/blackbox_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ globin fpletz willibutz ];
maintainers = with maintainers; [ globin fpletz willibutz Frostman ];
platforms = platforms.unix;
};
}
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/collectd-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:

buildGoPackage rec {
pname = "collectd-exporter";
@@ -14,6 +14,8 @@ buildGoPackage rec {
sha256 = "1p0kb7c8g0r0sp5a6xrx8vnwbw14hhwlqzk4n2xx2y8pvnbivajz";
};

passthru.tests = { inherit (nixosTests.prometheus-exporters) collectd; };

meta = with stdenv.lib; {
description = "Relay server for exporting metrics from collectd to Prometheus";
homepage = "https://github.com/prometheus/collectd_exporter";
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/cups-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, python3Packages }:
{ lib, fetchFromGitHub, python3Packages, nixosTests }:

python3Packages.buildPythonApplication rec {
pname = "prometheus-cups-exporter-unstable";
@@ -26,6 +26,8 @@ python3Packages.buildPythonApplication rec {
--add-flags "$out/share/cups_exporter.py"
'';

passthru.tests = { inherit (nixosTests.prometheus-exporters) cups; };

meta = with lib; {
description = "A simple prometheus exporter for cups implemented in python";
homepage = "https://github.com/ThoreKr/cups_exporter";
6 changes: 4 additions & 2 deletions pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
pname = "dnsmasq_exporter";
@@ -13,10 +13,12 @@ buildGoModule rec {

vendorSha256 = "1dqpa180pbdi2gcmp991d4cry560mx5rm5l9x065s9n9gnd38hvl";

passthru.tests = { inherit (nixosTests.prometheus-exporters) dnsmasq; };

meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "A dnsmasq exporter for Prometheus";
license = licenses.asl20;
maintainers = with maintainers; [ willibutz globin ma27 ];
};
}
}
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/dovecot-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:

buildGoPackage rec {
pname = "dovecot_exporter";
@@ -15,6 +15,8 @@ buildGoPackage rec {

goDeps = ./dovecot-exporter-deps.nix;

passthru.tests = { inherit (nixosTests.prometheus-exporters) dovecot; };

meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Prometheus metrics exporter for Dovecot";
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:

buildGoPackage rec {
pname = "fritzbox-exporter";
@@ -16,6 +16,8 @@ buildGoPackage rec {

goDeps = ./fritzbox-exporter-deps.nix;

passthru.tests = { inherit (nixosTests.prometheus-exporters) fritzbox; };

meta = with stdenv.lib; {
description = "Prometheus Exporter for FRITZ!Box (TR64 and UPnP)";
homepage = "https://github.com/ndecker/fritzbox_exporter";
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/json-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file was generated by go2nix.
{ buildGoPackage, fetchFromGitHub, fetchpatch, lib }:
{ buildGoPackage, fetchFromGitHub, fetchpatch, lib, nixosTests }:

buildGoPackage {
pname = "prometheus-json-exporter";
@@ -21,6 +21,8 @@ buildGoPackage {
sha256 = "0mc5axhd2bykci41dgswl4r1552d70jsmb17lbih7czhsy6rgmrm";
})];

passthru.tests = { inherit (nixosTests.prometheus-exporters) json; };

meta = with lib; {
description = "A prometheus exporter which scrapes remote JSON by JSONPath";
homepage = "https://github.com/kawamuray/prometheus-json-exporter";
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/keylight-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
pname = "keylight-exporter";
@@ -13,6 +13,8 @@ buildGoModule rec {

vendorSha256 = "0w065ls8dp687jmps4xdffcarss1wyls14dngr43g58xjw6519gb";

passthru.tests = { inherit (nixosTests.prometheus-exporters) keylight; };

meta = with stdenv.lib; {
homepage = "https://github.com/mdlayher/keylight_exporter";
description = "Prometheus exporter for Elgato Key Light devices.";
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/lnd-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
pname = "lndmon-unstable";
@@ -13,6 +13,8 @@ buildGoModule rec {

vendorSha256 = "083h2ksnqmcr48958r5pag9a28xvljpc3prip6wn70ifp2wpjpin";

passthru.tests = { inherit (nixosTests.prometheus-exporters) lnd; };

meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Prometheus exporter for lnd (Lightning Network Daemon)";
4 changes: 3 additions & 1 deletion pkgs/servers/monitoring/prometheus/mail-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }:
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles, nixosTests }:

buildGoPackage {
pname = "mailexporter";
@@ -22,6 +22,8 @@ buildGoPackage {
installManPage $src/man/mailexporter.conf.5
'';

passthru.tests = { inherit (nixosTests.prometheus-exporters) mail; };

meta = with stdenv.lib; {
description = "Export Prometheus-style metrics about mail server functionality";
homepage = "https://github.com/cherti/mailexporter";
6 changes: 4 additions & 2 deletions pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
pname = "mikrotik-exporter-unstable";
@@ -13,10 +13,12 @@ buildGoModule rec {

vendorSha256 = "0i5x4d3ra0s41knmybbg8gnjxgraxkid6y3gfkjwa65xcbp7hr7q";

passthru.tests = { inherit (nixosTests.prometheus-exporters) mikrotik; };

meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Prometheus MikroTik device(s) exporter";
license = licenses.bsd3;
maintainers = with maintainers; [ mmilata ];
};
}
}
Loading