mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
25 lines
589 B
Nix
25 lines
589 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gops";
|
|
version = "0.3.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "gops";
|
|
rev = "v${version}";
|
|
sha256 = "1l0k1v2wwwdrwwznrdq2ivbrl5z3hxa89xm89jlaglkd7jjg74zk";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|