nixpkgs/pkgs/tools/system/ctop/default.nix

23 lines
549 B
Nix
Raw Normal View History

2019-06-18 21:20:00 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2017-05-30 11:10:45 +00:00
2019-06-18 21:20:00 +00:00
buildGoModule rec {
pname = "ctop";
version = "0.7.2";
2017-05-30 11:10:45 +00:00
src = fetchFromGitHub {
owner = "bcicen";
2019-06-18 21:20:00 +00:00
repo = pname;
rev = "v${version}";
sha256 = "0mm6hl5qklfv0yffj6cgypsgcrk4fq6p60djycfgj20yhz9cmf9x";
2017-05-30 11:10:45 +00:00
};
2019-06-18 21:20:00 +00:00
modSha256 = "0ad1gvamckg94r7f68cnjdbq9nyz6c3hh339hy4hghxd3rd1qskn";
2017-05-30 11:10:45 +00:00
2019-06-18 21:20:00 +00:00
meta = with lib; {
description = "Top-like interface for container metrics";
homepage = "https://ctop.sh/";
2017-05-30 11:10:45 +00:00
license = licenses.mit;
2019-06-18 21:20:00 +00:00
maintainers = with maintainers; [ apeyroux marsam ];
2017-05-30 11:10:45 +00:00
};
}