alistral: 0.5.8 -> 0.5.10

This commit is contained in:
jopejoe1
2025-05-28 20:37:44 +02:00
parent 670a9d0989
commit 89c6d8e758
+3 -12
View File
@@ -10,26 +10,17 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "alistral";
version = "0.5.8";
version = "0.5.10";
src = fetchFromGitHub {
owner = "RustyNova016";
repo = "Alistral";
tag = "v${finalAttrs.version}";
hash = "sha256-LSuNVfGus9kO1g4EfVCw6yWxudvYqBnM5mpJWH7MBCs=";
hash = "sha256-O19Btz6jLJJnCbAusRHKfUa6II8mofzifW+cbPOaHVI=";
};
# remove if updating to rust 1.85
postPatch = ''
substituteInPlace Cargo.toml \
--replace-fail "[package]" ''$'cargo-features = ["edition2024"]\n[package]'\
--replace-fail 'rust-version = "1.85.0"' ""
'';
useFetchCargoVendor = true;
cargoHash = "sha256-lq+0R5g4MwVm8ESjKpz+aymjpqcaAE856XnBtYXYs8A=";
env.RUSTC_BOOTSTRAP = 1;
cargoHash = "sha256-zQvPgigUQW9dpyLe7fgW8i9I4nm38bQKDLwezeSYx9Q=";
nativeBuildInputs = [
pkg-config