mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
prometheus-aruba-exporter: init at unstable-2023-01-18
This commit is contained in:
parent
da5c25920d
commit
c8145a308c
27
pkgs/by-name/pr/prometheus-aruba-exporter/package.nix
Normal file
27
pkgs/by-name/pr/prometheus-aruba-exporter/package.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "prometheus-aruba-exporter";
|
||||
version = "unstable-2023-01-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "slashdoom";
|
||||
repo = "aruba_exporter";
|
||||
rev = "ca30cd687f949c9b0ac4e451c17583e6a9eb835a";
|
||||
sha256 = "sha256-U4J+j3AGNwniA+YmeWopAus/pxQIe6WIZWQJgO/0uJE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-1XYwrajzKoWOPg4aKE5rJVjWZ9RWBKD/kANOZHtWJCk=";
|
||||
|
||||
meta = {
|
||||
description = "Prometheus exporter for metrics from Aruba devices including ArubaSwitchOS, ArubaOS-CX, ArubaOS (Instant AP and controllers/gateways)";
|
||||
mainProgram = "aruba_exporter";
|
||||
homepage = "https://github.com/slashdoom/aruba_exporter";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ netali ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user