coolercontrol: 4.1.0 -> 4.3.0

This commit is contained in:
Guy Boldon
2026-05-11 20:54:24 +02:00
parent f2371b43a7
commit e6e29d3c22
3 changed files with 10 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ buildNpmPackage {
sourceRoot = "${src.name}/coolercontrol-ui";
npmDepsFetcherVersion = 2;
npmDepsHash = "sha256-AzRw6DuloOFC7VN7yM9czqxosfVIoXAltv2xHUxac7k=";
npmDepsHash = "sha256-fWsksBQCwHHWYE82NG0Vf/f+Hk02YMCUaGMHFGhGx2U=";
postBuild = ''
cp -r dist $out

View File

@@ -2,6 +2,7 @@
rustPlatform,
testers,
hwdata,
pkg-config,
libdrm,
coolercontrol,
runtimeShell,
@@ -22,11 +23,15 @@ rustPlatform.buildRustPackage {
inherit version src;
sourceRoot = "${src.name}/coolercontrold";
cargoHash = "sha256-rFwbHsGkKLD9UgkdTbxMIjARmU0Ewal1NIwlbzRL/vc=";
cargoHash = "sha256-f0SsTwriUo2rD97L+Z/bq7UahOSLjYjH8bbXg/Hx5qE=";
buildInputs = [ libdrm ];
buildInputs = [
hwdata
libdrm
];
nativeBuildInputs = [
pkg-config
protobuf
addDriverRunpath
python3Packages.wrapPython
@@ -42,10 +47,6 @@ rustPlatform.buildRustPackage {
# Hardcode a shell
substituteInPlace daemon/src/repositories/utils.rs \
--replace-fail 'Command::new("sh")' 'Command::new("${runtimeShell}")'
# This is supposed to be a "nix-compatible file path", but there is nothing that actually does the substitution
substituteInPlace daemon/src/repositories/hwmon/pci_ids.rs \
--replace-fail '@hwdata@' '${hwdata}'
'';
postInstall = ''

View File

@@ -5,13 +5,13 @@
}:
let
version = "4.1.0";
version = "4.3.0";
src = fetchFromGitLab {
owner = "coolercontrol";
repo = "coolercontrol";
tag = version;
hash = "sha256-v1enPMezagA3gcYD5EbC1ecTOXEsMLRGWIKzgDxzRWg=";
hash = "sha256-hmxeqsCv0URBSe4sU637h4OYroLHQRcOtkFuyKoES7c=";
};
meta = {