mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
05ed82e6f4
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.
28 lines
712 B
Nix
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;
|
|
};
|
|
}
|