3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/ctop/default.nix
2021-06-11 10:58:34 +02:00

27 lines
676 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ctop";
version = "0.7.6";
src = fetchFromGitHub {
owner = "bcicen";
repo = pname;
rev = version;
sha256 = "sha256-ceRyYrqmgdTnV8m9LkLlR6iTrC5F81X/V3fWI2CiKBw=";
};
vendorSha256 = "sha256-UCeMy4iT0c2sTcCDPg0TIYCLYfrIUvHluUuGIpzluSg=";
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 SuperSandro2000 ];
};
}