lact: 0.7.4 -> 0.8.0

commits: https://github.com/ilya-zlobintsev/LACT/compare/v0.7.4...v0.8.0
release notes: https://github.com/ilya-zlobintsev/LACT/releases/tag/v0.8.0

authored by Lin Jian and committed by Masum Reza 589257bf f7be425b

+14 -7
+14 -7
pkgs/by-name/la/lact/package.nix
··· 18 18 hwdata, 19 19 fuse3, 20 20 autoAddDriverRunpath, 21 + fetchpatch, 21 22 }: 22 23 23 24 rustPlatform.buildRustPackage (finalAttrs: { 24 25 pname = "lact"; 25 - version = "0.7.4"; 26 + version = "0.8.0"; 26 27 27 28 src = fetchFromGitHub { 28 29 owner = "ilya-zlobintsev"; 29 30 repo = "LACT"; 30 31 tag = "v${finalAttrs.version}"; 31 - hash = "sha256-zOvFWl78INlpCcEHiB3qZdxPNHXfUeKxfHyrO+wVNN0="; 32 + hash = "sha256-HsDVz9Wd1WoGWIB4Cs/GsvC7RDyHAeXfFGXZDWEmo/c="; 32 33 }; 33 34 34 35 useFetchCargoVendor = true; 35 - cargoHash = "sha256-10FdXUpLL+8xN818toShccgB5NfpzrOLfEeDAX5oMFw="; 36 + cargoHash = "sha256-fgF7gOXxB9sQqA5H1hw6A0Fb5tTBPySAbSxVhcKVhcM="; 36 37 37 38 nativeBuildInputs = [ 38 39 pkg-config ··· 68 69 ] 69 70 ); 70 71 72 + patches = [ 73 + (fetchpatch { 74 + name = "fix-tests::snapshot_everything-due-to-outdated-hwdata-649.patch"; 75 + url = "https://github.com/ilya-zlobintsev/LACT/commit/c9a59e48a36d590d7522c22bd15a8f9208bef0ee.patch"; 76 + hash = "sha256-Ehq8vRosqyqpRPeabkdpBHBF6ONqSJHOeq3AXw8PXPU="; 77 + }) 78 + ]; 79 + 71 80 postPatch = '' 72 - substituteInPlace lact-daemon/src/server/system.rs \ 73 - --replace-fail 'Command::new("uname")' 'Command::new("${coreutils}/bin/uname")' 74 - substituteInPlace lact-daemon/src/server/profiles.rs \ 81 + substituteInPlace lact-daemon/src/system.rs \ 75 82 --replace-fail 'Command::new("uname")' 'Command::new("${coreutils}/bin/uname")' 76 83 77 84 substituteInPlace lact-daemon/src/server/handler.rs \ 78 - --replace-fail 'Command::new("journalctl")' 'Command::new("${systemdMinimal}/bin/journalctl")' 85 + --replace-fail 'run_command("journalctl",' 'run_command("${systemdMinimal}/bin/journalctl",' 79 86 80 87 substituteInPlace lact-daemon/src/server/vulkan.rs \ 81 88 --replace-fail 'Command::new("vulkaninfo")' 'Command::new("${vulkan-tools}/bin/vulkaninfo")'