iwe: 0.0.64 -> 0.0.67

This commit is contained in:
hulr
2026-04-08 21:27:52 +02:00
committed by rh
parent f37d14db4e
commit a2d3b3dd86
+3 -11
View File
@@ -8,16 +8,16 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "iwe";
version = "0.0.64";
version = "0.0.67";
src = fetchFromGitHub {
owner = "iwe-org";
repo = "iwe";
tag = "iwe-v${finalAttrs.version}";
hash = "sha256-aqoUTatYUUFKw3ZQYagQ0KchQM3JMgSzL/hG6CiyG9U=";
hash = "sha256-/irCQgMDuO2boitdTyl4OlkMvuyFPfsTx8Jo/VhLYuw=";
};
cargoHash = "sha256-iTudRDC53wZvWwuPYGG3rQfsC/th+3FwpiqZsZnbekg=";
cargoHash = "sha256-oAIF+ekKzvfT7WzQ+PE4RWUUMMDkBOFBdgwUMXBZsFk=";
cargoBuildFlags = [
"--package=iwe"
@@ -28,14 +28,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
substituteInPlace crates/iwe/tests/common.rs --replace-fail \
'binary_path.push("target");' \
'binary_path.push("target/${stdenv.hostPlatform.rust.rustcTarget}");'
# Tests here are looking for /usr to exist, which is not present in a build environment
substituteInPlace crates/iwes/tests/transform_test.rs --replace-fail \
'cwd: Some("/usr".to_string()),' \
'cwd: Some("/tmp".to_string()),'
substituteInPlace crates/iwes/tests/transform_test.rs --replace-fail \
'vec![uri(1).to_edit("/usr\n")]' \
'vec![uri(1).to_edit("/tmp\n")]'
'';
nativeInstallCheckInputs = [ versionCheckHook ];