bottom: 0.11.4 -> 0.12.2

This commit is contained in:
Gutyina Gergő
2025-12-29 16:56:32 +00:00
parent 346dd96ad7
commit aa9d04aed0

View File

@@ -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