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
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, buildGoModule, fetchFromGitHub }:
2
+
3
+
buildGoModule rec {
4
+
pname = "ktop";
5
+
version = "0.3.5";
6
+
excludedPackages = [".ci"];
7
+
8
+
src = fetchFromGitHub {
9
+
owner = "vladimirvivien";
10
+
repo = pname;
11
+
rev = "v${version}";
12
+
hash = "sha256-nkIRVt2kqsE9QBYvvHmupohnzH+OBcwWwV16rMePw4I=";
13
+
};
14
+
15
+
vendorHash = "sha256-IiAMmHOq69WMT2B1q9ZV2fGDnLr7AbRm1P7ACSde2FE=";
16
+
ldflags = [ "-s" "-w" "-X github.com/vladimirvivien/ktop/buildinfo.Version=v${version}" ];
17
+
18
+
postInstall = ''
19
+
rm $out/bin/hack
20
+
'';
21
+
22
+
doCheck = false;
23
+
24
+
meta = with lib; {
25
+
description = "A top-like tool for your Kubernetes cluster";
26
+
longDescription = ''
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
+
'';
29
+
homepage = "https://github.com/vladimirvivien/ktop/";
30
+
license = licenses.asl20;
31
+
maintainers = with maintainers; [ qjoly ];
32
+
};
33
+
}
+2
pkgs/top-level/all-packages.nix
···
31537
31538
ktunnel = callPackage ../applications/networking/cluster/ktunnel { };
31539
0
0
31540
pinniped = callPackage ../applications/networking/cluster/pinniped { };
31541
31542
kthxbye = callPackage ../servers/monitoring/prometheus/kthxbye.nix { };
···
31537
31538
ktunnel = callPackage ../applications/networking/cluster/ktunnel { };
31539
31540
+
ktop = callPackage ../applications/networking/cluster/ktop { };
31541
+
31542
pinniped = callPackage ../applications/networking/cluster/pinniped { };
31543
31544
kthxbye = callPackage ../servers/monitoring/prometheus/kthxbye.nix { };