mission-center: 0.6.0 -> 0.6.1 (#346901)

This commit is contained in:
Sandro
2024-10-07 01:18:59 +02:00
committed by GitHub
3 changed files with 24 additions and 6 deletions
+1 -1
View File
@@ -667,7 +667,7 @@ dependencies = [
[[package]]
name = "missioncenter"
version = "0.6.0"
version = "0.6.1"
dependencies = [
"dbus",
"errno-sys",
+3 -3
View File
@@ -25,9 +25,9 @@ checksum = "4e1496f8fb1fbf272686b8d37f523dab3e4a7443300055e74cdaa449f3114356"
[[package]]
name = "app-rummage"
version = "0.2.6"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c015066de1a3af6e3582d1c4bf19f481fe7536e495c30fae84ec63cb08f90622"
checksum = "1321031f83546d8c1c81840700838c47e1fbf8eba93c393f2821573624b296f0"
dependencies = [
"log",
"nix",
@@ -399,7 +399,7 @@ dependencies = [
[[package]]
name = "gatherer"
version = "0.6.0"
version = "0.6.1"
dependencies = [
"anyhow",
"app-rummage",
+20 -2
View File
@@ -38,8 +38,20 @@
wayland,
vulkan-loader,
versionCheckHook,
}:
# UPDATE PROCESS:
# 1) Get the nvtop commit hash (`source-url` in `nvtop.json`):
# https://gitlab.com/mission-center-devs/mission-center/-/blob/v<VERSION>/src/sys_info_v2/gatherer/3rdparty/nvtop/nvtop.json?ref_type=tags
# 2) Update the version of the main derivation
# 3) Get the main `Cargo.lock` and copy it to `Cargo.lock`:
# https://gitlab.com/mission-center-devs/mission-center/-/blob/v<VERSION>/Cargo.lock?ref_type=tags
# 4) Get the gatherer `Cargo.lock` and copy it to `gatherer-Cargo.lock`:
# https://gitlab.com/mission-center-devs/mission-center/-/blob/v<VERSION>/src/sys_info_v2/gatherer/Cargo.lock?ref_type=tags
# 5) Refresh both the `nvtop` and `src` hashes
let
nvtop = fetchFromGitHub {
owner = "Syllo";
@@ -50,13 +62,13 @@ let
in
stdenv.mkDerivation rec {
pname = "mission-center";
version = "0.6.0";
version = "0.6.1";
src = fetchFromGitLab {
owner = "mission-center-devs";
repo = "mission-center";
rev = "v${version}";
hash = "sha256-MHCQHQFMd+YFgwY+k5iVZG08UeYBvEhrZGhHmzR+cLc=";
hash = "sha256-1/cbU5yH6VlfFXCAO3m2CCZwCrqls8WZQf2eplfS6Rs=";
};
cargoDeps = symlinkJoin {
@@ -133,6 +145,12 @@ stdenv.mkDerivation rec {
patchShebangs data/hwdb/generate_hwdb.py
'';
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgram = "${builtins.placeholder "out"}/bin/${meta.mainProgram}";
doInstallCheck = true;
meta = {
description = "Monitor your CPU, Memory, Disk, Network and GPU usage";
homepage = "https://gitlab.com/mission-center-devs/mission-center";