tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ktop: init at 0.3.5
QJoly
2 years ago
67fcbcf3
5608f9db
+35
2 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
cluster
ktop
default.nix
top-level
all-packages.nix
+33
pkgs/applications/networking/cluster/ktop/default.nix
···
1
1
+
{ lib, buildGoModule, fetchFromGitHub }:
2
2
+
3
3
+
buildGoModule rec {
4
4
+
pname = "ktop";
5
5
+
version = "0.3.5";
6
6
+
excludedPackages = [".ci"];
7
7
+
8
8
+
src = fetchFromGitHub {
9
9
+
owner = "vladimirvivien";
10
10
+
repo = pname;
11
11
+
rev = "v${version}";
12
12
+
hash = "sha256-nkIRVt2kqsE9QBYvvHmupohnzH+OBcwWwV16rMePw4I=";
13
13
+
};
14
14
+
15
15
+
vendorHash = "sha256-IiAMmHOq69WMT2B1q9ZV2fGDnLr7AbRm1P7ACSde2FE=";
16
16
+
ldflags = [ "-s" "-w" "-X github.com/vladimirvivien/ktop/buildinfo.Version=v${version}" ];
17
17
+
18
18
+
postInstall = ''
19
19
+
rm $out/bin/hack
20
20
+
'';
21
21
+
22
22
+
doCheck = false;
23
23
+
24
24
+
meta = with lib; {
25
25
+
description = "A top-like tool for your Kubernetes cluster";
26
26
+
longDescription = ''
27
27
+
Following the tradition of Unix/Linux top tools, ktop is a tool that displays useful metrics information about nodes, pods, and other workload resources running in a Kubernetes cluster.
28
28
+
'';
29
29
+
homepage = "https://github.com/vladimirvivien/ktop/";
30
30
+
license = licenses.asl20;
31
31
+
maintainers = with maintainers; [ qjoly ];
32
32
+
};
33
33
+
}
+2
pkgs/top-level/all-packages.nix
···
31537
31537
31538
31538
ktunnel = callPackage ../applications/networking/cluster/ktunnel { };
31539
31539
31540
31540
+
ktop = callPackage ../applications/networking/cluster/ktop { };
31541
31541
+
31540
31542
pinniped = callPackage ../applications/networking/cluster/pinniped { };
31541
31543
31542
31544
kthxbye = callPackage ../servers/monitoring/prometheus/kthxbye.nix { };