about summary refs log tree commit diff
path: root/pkgs/servers/endlessh-go/default.nix
blob: ba0dc66a7405d09d87354180738befbbd2d50f21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 ];
  };
}