nixpkgs/pkgs/servers/endlessh-go/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
625 B
Nix
Raw Normal View History

2022-03-12 11:01:28 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2022-03-03 22:57:11 +01:00
buildGoModule rec {
pname = "endlessh-go";
2022-03-12 08:33:30 +01:00
version = "20220308.1";
2022-03-03 22:57:11 +01:00
src = fetchFromGitHub {
owner = "shizunge";
repo = "endlessh-go";
rev = version;
2022-03-12 11:01:28 +01:00
hash = "sha256-U+h/WmTVwwUIBEOiNa/EKS6HvkeoGNmP3NpeP1fcqYw=";
2022-03-03 22:57:11 +01:00
};
2022-03-12 11:01:28 +01:00
2022-07-05 17:32:14 +02:00
vendorSha256 = "sha256-5a/V2OQGVRIJVl/YG+lvtbLeHCy/1eiZu69zKIFqRKM=";
2022-03-12 11:01:28 +01:00
2022-03-03 22:57:11 +01:00
proxyVendor = true;
meta = with lib; {
description = "An implementation of endlessh exporting Prometheus metrics";
2022-03-12 11:01:28 +01:00
homepage = "https://github.com/shizunge/endlessh-go";
license = licenses.gpl3Plus;
2022-03-03 22:57:11 +01:00
maintainers = with maintainers; [ azahi ];
};
}