2021-03-09 03:18:52 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gops";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.3.20";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "gops";
|
|
|
|
rev = "v${version}";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-eHcCi9D5TpRWxC39SnOD2GW3qyNBR69bHb8f/Gb+qAI=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
preCheck = "export HOME=$(mktemp -d)";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool to list and diagnose Go processes currently running on your system";
|
|
|
|
homepage = "https://github.com/google/gops";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ pborzenkov ];
|
|
|
|
};
|
|
|
|
}
|