mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
24 lines
624 B
Nix
24 lines
624 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "junos-czerwonk-exporter";
|
|
version = "0.12.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "czerwonk";
|
|
repo = "junos_exporter";
|
|
rev = version;
|
|
sha256 = "sha256-KdVyRddAr2gqiFyIGBfWbi4DHAaiey4p4OBFND/2u7U=";
|
|
};
|
|
|
|
vendorHash = "sha256-fytDr56ZhhO5u6u9CRIEKXGqgnzntSVqEVItibpLyPM=";
|
|
|
|
meta = with lib; {
|
|
description = "Exporter for metrics from devices running JunOS";
|
|
mainProgram = "junos_exporter";
|
|
homepage = "https://github.com/czerwonk/junos_exporter";
|
|
license = licenses.mit;
|
|
maintainers = teams.wdz.members;
|
|
};
|
|
}
|