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 hwdata, 19 fuse3, 20 autoAddDriverRunpath, 21 }: 22 23 rustPlatform.buildRustPackage (finalAttrs: { 24 pname = "lact"; 25 - version = "0.7.4"; 26 27 src = fetchFromGitHub { 28 owner = "ilya-zlobintsev"; 29 repo = "LACT"; 30 tag = "v${finalAttrs.version}"; 31 - hash = "sha256-zOvFWl78INlpCcEHiB3qZdxPNHXfUeKxfHyrO+wVNN0="; 32 }; 33 34 useFetchCargoVendor = true; 35 - cargoHash = "sha256-10FdXUpLL+8xN818toShccgB5NfpzrOLfEeDAX5oMFw="; 36 37 nativeBuildInputs = [ 38 pkg-config ··· 68 ] 69 ); 70 71 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 \ 75 --replace-fail 'Command::new("uname")' 'Command::new("${coreutils}/bin/uname")' 76 77 substituteInPlace lact-daemon/src/server/handler.rs \ 78 - --replace-fail 'Command::new("journalctl")' 'Command::new("${systemdMinimal}/bin/journalctl")' 79 80 substituteInPlace lact-daemon/src/server/vulkan.rs \ 81 --replace-fail 'Command::new("vulkaninfo")' 'Command::new("${vulkan-tools}/bin/vulkaninfo")'
··· 18 hwdata, 19 fuse3, 20 autoAddDriverRunpath, 21 + fetchpatch, 22 }: 23 24 rustPlatform.buildRustPackage (finalAttrs: { 25 pname = "lact"; 26 + version = "0.8.0"; 27 28 src = fetchFromGitHub { 29 owner = "ilya-zlobintsev"; 30 repo = "LACT"; 31 tag = "v${finalAttrs.version}"; 32 + hash = "sha256-HsDVz9Wd1WoGWIB4Cs/GsvC7RDyHAeXfFGXZDWEmo/c="; 33 }; 34 35 useFetchCargoVendor = true; 36 + cargoHash = "sha256-fgF7gOXxB9sQqA5H1hw6A0Fb5tTBPySAbSxVhcKVhcM="; 37 38 nativeBuildInputs = [ 39 pkg-config ··· 69 ] 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 + 80 postPatch = '' 81 + substituteInPlace lact-daemon/src/system.rs \ 82 --replace-fail 'Command::new("uname")' 'Command::new("${coreutils}/bin/uname")' 83 84 substituteInPlace lact-daemon/src/server/handler.rs \ 85 + --replace-fail 'run_command("journalctl",' 'run_command("${systemdMinimal}/bin/journalctl",' 86 87 substituteInPlace lact-daemon/src/server/vulkan.rs \ 88 --replace-fail 'Command::new("vulkaninfo")' 'Command::new("${vulkan-tools}/bin/vulkaninfo")'