mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
prometheus-github-exporter: init at 1.1.0
This commit is contained in:
parent
e4023affad
commit
bfb984b2f1
22
pkgs/by-name/pr/prometheus-github-exporter/package.nix
Normal file
22
pkgs/by-name/pr/prometheus-github-exporter/package.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, }:
|
||||
buildGoModule rec {
|
||||
pname = "prometheus-github-exporter";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "githubexporter";
|
||||
repo = "github-exporter";
|
||||
rev = "${version}";
|
||||
hash = "sha256-sHmugAVi9wGh0sR6tPDXp0FlRG96WY4/MXMHv2TC50E=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZO9Dq9tuNP+262eEwBzptBMNtGIxkc7y4MCwMnRSTnE=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/githubexporter/github-exporter";
|
||||
description = "Github Exporter for Prometheus";
|
||||
license = licenses.mit;
|
||||
mainProgram = "github-exporter";
|
||||
maintainers = with maintainers; [ swendel ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue