mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
25 lines
588 B
Nix
25 lines
588 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gops";
|
|
version = "0.3.22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "gops";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-97D92sWGqtMGzwrQ3NUR7prgsqtJvAQOjYlfmSWIEKo=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|