Loading pkgs/applications/networking/cluster/kubectl-view-allocations/Cargo.lockdeleted 100644 → 0 +0 −2507 File deleted.Preview size limit exceeded, changes collapsed. Show changes pkgs/applications/networking/cluster/kubectl-view-allocations/default.nix +13 −21 Original line number Diff line number Diff line Loading @@ -4,42 +4,34 @@ rustPlatform, fetchFromGitHub, Security ? null, versionCheckHook, }: rustPlatform.buildRustPackage rec { pname = "kubectl-view-allocations"; version = "0.20.3"; version = "0.20.5"; src = fetchFromGitHub { owner = "davidB"; repo = pname; rev = version; sha256 = "sha256-JnxnEvew9J38hK4MqOjsCDZ2SJa9NknAJkhxFruCKmo="; repo = "kubectl-view-allocations"; tag = version; hash = "sha256-Y+Yki0wTi/OTWbUvk+8EhTlhF7H51RrdFLFXk2VqF1M="; }; postPatch = '' cp ${./Cargo.lock} Cargo.lock ''; cargoLock = { lockFile = ./Cargo.lock; }; useFetchCargoVendor = true; cargoHash = "sha256-6sRpsXydzKB0ZaV1HeagINgb6ol9dj3XT0+pd53QOCw="; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck $out/bin/kubectl-view-allocations --help $out/bin/kubectl-view-allocations --version | grep -e "kubectl-view-allocations ${version}" runHook postInstallCheck ''; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; meta = with lib; { meta = { 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; license = lib.licenses.cc0; maintainers = with lib.maintainers; [ mrene ]; platforms = lib.platforms.unix; }; } Loading
pkgs/applications/networking/cluster/kubectl-view-allocations/Cargo.lockdeleted 100644 → 0 +0 −2507 File deleted.Preview size limit exceeded, changes collapsed. Show changes
pkgs/applications/networking/cluster/kubectl-view-allocations/default.nix +13 −21 Original line number Diff line number Diff line Loading @@ -4,42 +4,34 @@ rustPlatform, fetchFromGitHub, Security ? null, versionCheckHook, }: rustPlatform.buildRustPackage rec { pname = "kubectl-view-allocations"; version = "0.20.3"; version = "0.20.5"; src = fetchFromGitHub { owner = "davidB"; repo = pname; rev = version; sha256 = "sha256-JnxnEvew9J38hK4MqOjsCDZ2SJa9NknAJkhxFruCKmo="; repo = "kubectl-view-allocations"; tag = version; hash = "sha256-Y+Yki0wTi/OTWbUvk+8EhTlhF7H51RrdFLFXk2VqF1M="; }; postPatch = '' cp ${./Cargo.lock} Cargo.lock ''; cargoLock = { lockFile = ./Cargo.lock; }; useFetchCargoVendor = true; cargoHash = "sha256-6sRpsXydzKB0ZaV1HeagINgb6ol9dj3XT0+pd53QOCw="; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; doInstallCheck = true; installCheckPhase = '' runHook preInstallCheck $out/bin/kubectl-view-allocations --help $out/bin/kubectl-view-allocations --version | grep -e "kubectl-view-allocations ${version}" runHook postInstallCheck ''; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; meta = with lib; { meta = { 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; license = lib.licenses.cc0; maintainers = with lib.maintainers; [ mrene ]; platforms = lib.platforms.unix; }; }