7cbac10661
GitOrigin-RevId: a371c1071161104d329f6a85d922fd92b7cbab63
26 lines
668 B
Nix
26 lines
668 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "ctop";
|
|
version = "0.7.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bcicen";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0mm1gapnz67mwc346jr530xwpiajq1b2f295s8gz5nrb2a23mqln";
|
|
};
|
|
|
|
vendorSha256 = "0a5rwnf251jbp7jz2ln8z9hqp0112c6kx0y09nncvlcki35qq9sh";
|
|
|
|
doCheck = false;
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.build=v${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Top-like interface for container metrics";
|
|
homepage = "https://ctop.sh/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ apeyroux marsam ];
|
|
};
|
|
}
|