typos: 1.35.6 -> 1.38.1 (#450035)

This commit is contained in:
Pol Dellaiera
2025-10-08 20:14:48 +00:00
committed by GitHub
+11 -3
View File
@@ -8,19 +8,27 @@
rustPlatform.buildRustPackage rec {
pname = "typos";
version = "1.35.6";
version = "1.38.1";
src = fetchFromGitHub {
owner = "crate-ci";
repo = "typos";
tag = "v${version}";
hash = "sha256-THkmrZJt5+qtaErqceG9dppo0LPNq6fHdvLAHmie3/o=";
hash = "sha256-xr3k3wx9EWKm00kt1GxE31Mw5wa3N3VJJCKaUbQa4ic=";
};
cargoHash = "sha256-V/OYr+XWSP43O2ShVpd9n0i/D3BW3qjkoOgZNj/+H40=";
cargoHash = "sha256-2XgnCXYqBvx7LRWaPt4iXznIXIEzYBlWMXbwEVZyGA8=";
passthru.updateScript = nix-update-script { };
preCheck = ''
export LC_ALL=C.UTF-8
'';
postCheck = ''
unset LC_ALL
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = "--version";