hcloud_exporter: init at unstable-2021-06-07
This commit is contained in:
parent
a0fbcbb920
commit
a8809bfcd4
|
@ -27,6 +27,8 @@ in
|
|||
|
||||
gust_tools = callPackage ./gust_tools { };
|
||||
|
||||
hcloud_exporter = callPackage ./hcloud_exporter { };
|
||||
|
||||
httpdirfs = callPackage ./httpdirfs { };
|
||||
|
||||
mpvScripts = prev.mpvScripts // {
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
fSpy
|
||||
face_morpher
|
||||
gust_tools
|
||||
hcloud_exporter
|
||||
httpdirfs
|
||||
nsz
|
||||
oha
|
||||
|
|
23
hcloud_exporter/default.nix
Normal file
23
hcloud_exporter/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "hcloud_exporter";
|
||||
version = "unstable-2021-06-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "promhippie";
|
||||
repo = pname;
|
||||
rev = "f22c52bf79ecafafdecf6a3b6dd3642b51b20ddb";
|
||||
sha256 = "sha256-7UJhM/HLhRySTQ1lNLMgfKD9GDOivRMhGGNVLQknMLA=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-qWYj/BCuY/995pLiBUoMtKvDV81j17c2GJeqhgBWn74=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter for Hetzner Cloud";
|
||||
homepage = "https://promhippie.github.io/hcloud_exporter/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue