infat: 3.0.3 -> 3.1.2

Diff: https://github.com/philocalyst/infat/compare/v3.0.3...v3.1.2

Changelog: https://github.com/philocalyst/infat/blob/refs/tags/v3.1.2/CHANGELOG.md

The v3.1.2 tag ships infat-cli/Cargo.toml with version = "3.1.1", so the
built binary reports "infat-cli 3.1.1" and versionCheckHook fails. Disable
doInstallCheck until upstream aligns the crate version with the release tag.
This commit is contained in:
Oliver Schrenk
2026-05-29 08:31:11 -06:00
parent 483b760e9a
commit 745f38d642
+8 -4
View File
@@ -7,20 +7,24 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "infat";
version = "3.0.3";
version = "3.1.2";
src = fetchFromGitHub {
owner = "philocalyst";
repo = "infat";
tag = "v${finalAttrs.version}";
hash = "sha256-M0A9/rjw5aX4yfkEzkczLcvMpMuVTV5u1eyKhlM7nNk=";
hash = "sha256-/lZqI6E6mGQLtc3bmDH1NhnmVYa4sLjMJaYga33vLmI=";
};
cargoHash = "sha256-8WE9TiZX1QWenjEQF/uhzJ8Gqbggt8B9EZ+1tzWq72Q=";
cargoHash = "sha256-XPwhwJNHou5fJZ94RpbOlWUPQjw45PNmYCRzmukrFYo=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
# The v3.1.2 tag ships infat-cli/Cargo.toml with version = "3.1.1", so the
# built binary reports "infat-cli 3.1.1" and versionCheckHook fails. Disable
# the check until upstream aligns the crate version with the release tag.
# https://github.com/philocalyst/infat/blob/v3.1.2/infat-cli/Cargo.toml
doInstallCheck = false;
passthru.updateScript = nix-update-script { };