1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "gops";
5 version = "0.3.27";
6
7 src = fetchFromGitHub {
8 owner = "google";
9 repo = "gops";
10 rev = "v${version}";
11 sha256 = "sha256-F1/1wMO2lQ4v2+r3FPzaxCkL2lW+COgxy4fjv6+p7AY=";
12 };
13
14 vendorHash = "sha256-ea+1AV0WzaQiDHyAUsm0rd/bznehG9UtmB1ubgHrOGM=";
15
16 preCheck = "export HOME=$(mktemp -d)";
17
18 meta = with lib; {
19 description = "A tool to list and diagnose Go processes currently running on your system";
20 homepage = "https://github.com/google/gops";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ pborzenkov ];
23 };
24}