mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-12 07:54:50 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
23 lines
599 B
Nix
23 lines
599 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "junos-czerwonk-exporter";
|
|
version = "0.10.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "czerwonk";
|
|
repo = "junos_exporter";
|
|
rev = version;
|
|
sha256 = "sha256-XYISwq6xcVKhXUK6j22pQ5eOfuKNH0uXOEK1MUzSq90=";
|
|
};
|
|
|
|
vendorHash = "sha256-IV0FZb1rjOMLf+vkzz/ZxUBMFD8VRDS51Wdud/yz32E=";
|
|
|
|
meta = with lib; {
|
|
description = "Exporter for metrics from devices running JunOS";
|
|
homepage = "https://github.com/czerwonk/junos_exporter";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ netali ];
|
|
};
|
|
}
|