asusctl: 6.1.12 -> 6.1.14 (#450136)

This commit is contained in:
K900
2025-10-09 05:04:08 +00:00
committed by GitHub

View File

@@ -18,16 +18,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "asusctl";
version = "6.1.12";
version = "6.1.14";
src = fetchFromGitLab {
owner = "asus-linux";
repo = "asusctl";
tag = version;
hash = "sha256-E/tDd7wQKDgC91x1rGa8Ltn4GMPk3DJDvmMQNafVLyM=";
hash = "sha256-TMfuqtMaXklAEQjSxeYToszZ6foL0b7PTEdpBrAeIxY=";
};
cargoHash = "sha256-lvm3xvI01RyaSS39nm3l7Zpn3x23DDBQr+0Gggl4p9U=";
cargoHash = "sha256-rJuFdBvypwPFCOUQ+34xDHTKYhrgJPaHng54oybN2Tk=";
postPatch = ''
files="
@@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec {
substituteInPlace $file --replace-fail /usr/share $out/share
done
substituteInPlace data/asusd.rules --replace-fail systemctl ${lib.getExe' systemd "systemctl"}
substituteInPlace data/asusd.rules --replace-fail /usr/bin/systemctl ${lib.getExe' systemd "systemctl"}
substituteInPlace data/asusd.service \
--replace-fail /usr/bin/asusd $out/bin/asusd \
--replace-fail /bin/sleep ${lib.getExe' coreutils "sleep"}