From aa9d04aed0b5ef896ed8c4c758d65ced39515d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Mon, 29 Dec 2025 16:56:32 +0000 Subject: [PATCH] bottom: 0.11.4 -> 0.12.2 --- pkgs/by-name/bo/bottom/package.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/bo/bottom/package.nix b/pkgs/by-name/bo/bottom/package.nix index a524235e2078..18bc82b65b0c 100644 --- a/pkgs/by-name/bo/bottom/package.nix +++ b/pkgs/by-name/bo/bottom/package.nix @@ -1,5 +1,6 @@ { lib, + stdenv, rustPlatform, fetchFromGitHub, autoAddDriverRunpath, @@ -11,16 +12,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "bottom"; - version = "0.11.4"; + version = "0.12.2"; src = fetchFromGitHub { owner = "ClementTsang"; repo = "bottom"; tag = finalAttrs.version; - hash = "sha256-hyEYSkoV86BWVMjolU9IjU0rTABxE4ag26el0UydsFQ="; + hash = "sha256-+VfXxLKIdrg+ytmx29TPm46t3yhAgqBSJ+ykiIjuNmA="; }; - cargoHash = "sha256-VnpSgaBxSHJj+brMtNwmbrXUN9H3y0oinF8ya+vsl88="; + cargoHash = "sha256-dvU/iAgLC0+l8FH1bnOdIvZrXHqltE1hMkf+IaLQZxE="; nativeBuildInputs = [ autoAddDriverRunpath @@ -38,9 +39,14 @@ rustPlatform.buildRustPackage (finalAttrs: { --zsh target/tmp/bottom/completion/_btm install -Dm444 desktop/bottom.desktop -t $out/share/applications - install -Dm644 assets/icons/bottom.svg -t $out/share/icons/hicolor/scalable/apps + install -Dm644 assets/icons/bottom-system-monitor.svg -t $out/share/icons/hicolor/scalable/apps ''; + checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ + # fails to get list of processes due to sandboxing, this functionality works at runtime + "--skip=collection::tests::test_data_collection" + ]; + doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook