nixpkgs-suyu/pkgs/servers/monitoring/prometheus/dovecot-exporter.nix
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00

24 lines
607 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "dovecot_exporter";
version = "0.1.3";
goPackagePath = "github.com/kumina/dovecot_exporter";
src = fetchFromGitHub {
owner = "kumina";
repo = "dovecot_exporter";
rev = version;
sha256 = "1lnxnnm45fhcyv40arcvpiiibwdnxdwhkf8sbjpifx1wspvphcj9";
};
goDeps = ./dovecot-exporter-deps.nix;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Prometheus metrics exporter for Dovecot";
license = licenses.asl20;
maintainers = with maintainers; [ willibutz globin ];
};
}