mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
kubectl-view-allocations: init at 0.16.3
This commit is contained in:
parent
ff40c80867
commit
2531b25207
3 changed files with 2214 additions and 0 deletions
2172
pkgs/applications/networking/cluster/kubectl-view-allocations/Cargo.lock
generated
Normal file
2172
pkgs/applications/networking/cluster/kubectl-view-allocations/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, perl
|
||||
, Security ? null
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "kubectl-view-allocations";
|
||||
version = "0.16.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davidB";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-udi39j/K4Wsxva171i7mMUQ6Jb8Ny2IEHfldt3B8IoY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
cp ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "kubectl plugin to list allocations (cpu, memory, gpu,... X utilization, requested, limit, allocatable,...)";
|
||||
homepage = "https://github.com/davidB/kubectl-view-allocations";
|
||||
license = licenses.cc0;
|
||||
maintainers = [ maintainers.mrene ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -31319,6 +31319,10 @@ with pkgs;
|
|||
|
||||
kubectl-tree = callPackage ../applications/networking/cluster/kubectl-tree { };
|
||||
|
||||
kubectl-view-allocations = callPackage ../applications/networking/cluster/kubectl-view-allocations {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
kubelogin = callPackage ../applications/networking/cluster/kubelogin { };
|
||||
|
||||
kubelogin-oidc = callPackage ../applications/networking/cluster/kubelogin-oidc { };
|
||||
|
|
Loading…
Reference in a new issue