nixpkgs/pkgs/development/tools/gops/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
661 B
Nix
Raw Normal View History

2021-02-24 16:07:44 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gops";
2023-08-25 00:59:20 +00:00
version = "0.3.28";
2021-02-24 16:07:44 +00:00
src = fetchFromGitHub {
owner = "google";
repo = "gops";
rev = "v${version}";
2023-08-25 00:59:20 +00:00
sha256 = "sha256-HNM487WSfNWNF31ccDIdotsEG8Mj2C7V85UI47a9drU=";
2021-02-24 16:07:44 +00:00
};
2023-08-25 00:59:20 +00:00
vendorHash = "sha256-ptC2G7cXcAjthJcAXvuBqI2ZpPuSMBqzO+gJiyaAUP0=";
2021-02-24 16:07:44 +00:00
preCheck = "export HOME=$(mktemp -d)";
meta = with lib; {
description = "A tool to list and diagnose Go processes currently running on your system";
mainProgram = "gops";
2021-02-24 16:07:44 +00:00
homepage = "https://github.com/google/gops";
license = licenses.bsd3;
maintainers = with maintainers; [ pborzenkov ];
};
}