2021-02-24 16:07:44 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gops";
|
2021-03-02 11:51:51 +00:00
|
|
|
version = "0.3.16";
|
2021-02-24 16:07:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "gops";
|
|
|
|
rev = "v${version}";
|
2021-03-02 11:51:51 +00:00
|
|
|
sha256 = "1ksypkja5smxvrhgcjk0w18ws97crx6bx5sj20sh8352xx0nm6mp";
|
2021-02-24 16:07:44 +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 ];
|
|
|
|
};
|
|
|
|
}
|