blob: 8d8b710750c460cf5281f6711d3158f30c2eb598 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ctop";
version = "0.7.2";
src = fetchFromGitHub {
owner = "bcicen";
repo = pname;
rev = "v${version}";
sha256 = "0mm6hl5qklfv0yffj6cgypsgcrk4fq6p60djycfgj20yhz9cmf9x";
};
patches = [
# Version 0.7.2 does not build with go 1.13.
# TODO: Remove once(and if) https://github.com/bcicen/ctop/pull/178 is merged and lands in a release.
./go-1.13-deps.patch
];
modSha256 = "0ad1gvamckg94r7f68cnjdbq9nyz6c3hh339hy4hghxd3rd1qskn";
meta = with lib; {
description = "Top-like interface for container metrics";
homepage = "https://ctop.sh/";
license = licenses.mit;
maintainers = with maintainers; [ apeyroux marsam ];
};
}
|