mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
coolercontrol: 4.1.0 -> 4.3.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user