mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
Compare commits
2 Commits
1bd2e49c5b
...
d7f3d87456
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7f3d87456 | ||
|
|
80631a73b1 |
@@ -18,16 +18,16 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "asusctl";
|
||||
version = "6.1.17";
|
||||
version = "6.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "asus-linux";
|
||||
repo = "asusctl";
|
||||
tag = version;
|
||||
hash = "sha256-rNLQYCE7NZAel2fr5VoAMlm7QkH1KrySKdEn2+WMPo8=";
|
||||
hash = "sha256-frQbfCdK7bD6IAUa+MAOaRLhMrbdFRdHocQ0Z1tzsqE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-/vMVSGUO6Zu/8GSTq1jsXLWVP9sWsuD7fJty3NnKXf4=";
|
||||
cargoHash = "sha256-Z3JFp/qH3mD3Hy/kqSONOZ+syulgr+t0ZzFRvNN+Ayg=";
|
||||
|
||||
postPatch = ''
|
||||
files="
|
||||
@@ -46,7 +46,6 @@ rustPlatform.buildRustPackage rec {
|
||||
substituteInPlace rog-control-center/src/main.rs \
|
||||
--replace-fail 'std::env::var("RUST_TRANSLATIONS").is_ok()' 'true'
|
||||
|
||||
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"}
|
||||
@@ -106,6 +105,7 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with lib.maintainers; [
|
||||
k900
|
||||
aacebedo
|
||||
yuannan
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
"lts": false
|
||||
},
|
||||
"6.18": {
|
||||
"version": "6.18.2",
|
||||
"hash": "sha256:0smrmbnlhfivw2kx689wd52aff80gf0gw9wqz4s2nja9nyx6p32m",
|
||||
"version": "6.18.3",
|
||||
"hash": "sha256:16kzgpxrmaxd2kcsmlnsvc2ryxih457rrwynfzhbmi49gcb7k23s",
|
||||
"lts": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user