From 745f38d6421b2aeeef597de78f6930d29110b0ca Mon Sep 17 00:00:00 2001 From: Oliver Schrenk Date: Thu, 28 May 2026 18:55:53 -0600 Subject: [PATCH] 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. --- pkgs/by-name/in/infat/package.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/in/infat/package.nix b/pkgs/by-name/in/infat/package.nix index c0b70aff875a..a14c57506e55 100644 --- a/pkgs/by-name/in/infat/package.nix +++ b/pkgs/by-name/in/infat/package.nix @@ -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 { };