depot/third_party/nixpkgs/pkgs/servers/endlessh-go/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

22 lines
617 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "endlessh-go";
version = "20220213";
src = fetchFromGitHub {
owner = "shizunge";
repo = "endlessh-go";
rev = version;
sha256 = "sha256-x/38w0GtzYBGWr0ZkfY2HmDEAUI54R833aH0RZSCTC0=";
};
vendorSha256 = "sha256-h/DpbXO+LUsB9NOAXUfNx3VOfEsiolfBEMBrAqVlU3A=";
proxyVendor = true;
meta = with lib; {
homepage = "https://github.com/shizunge/endlessh-go";
description = "An implementation of endlessh exporting Prometheus metrics";
license = licenses.gpl3;
maintainers = with maintainers; [ azahi ];
};
}