1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/servers/monitoring/prometheus/nextcloud-exporter.nix
WilliButz 05ed82e6f4
prometheus-nextcloud-exporter: use tagged version
The tag was not pushed when this exporter was added to nixpkgs.
The source hash remains the same, because the tag refers to the
same revision.
2019-10-13 18:50:55 +02:00

28 lines
712 B
Nix

{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "prometheus-nextcloud-exporter";
version = "0.1.0";
src = fetchFromGitHub {
owner = "xperimental";
repo = "nextcloud-exporter";
rev = "v${version}";
sha256 = "1xpc6q6zp92ckkyd24cfl65vyzjv60qwh44ys6mza4k6yrxhacv4";
};
goPackagePath = "github.com/xperimental/nextcloud-exporter";
goDeps = ./nextcloud-exporter-deps.nix;
doCheck = true;
meta = with lib; {
description = "Prometheus exporter for Nextcloud servers.";
homepage = "https://github.com/xperimental/nextcloud-exporter";
license = licenses.mit;
maintainers = with maintainers; [ willibutz ];
platforms = platforms.unix;
};
}