Skip to content

Commit

Permalink
typos: 0.28.4 -> 0.29.0 (#369809)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Jan 1, 2025
2 parents 7a9149b + cb2ded5 commit 76af251
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions pkgs/by-name/ty/typos/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,39 @@
lib,
rustPlatform,
fetchFromGitHub,
testers,
versionCheckHook,
nix-update-script,
typos,
}:

rustPlatform.buildRustPackage rec {
pname = "typos";
version = "1.28.4";
version = "1.29.0";

src = fetchFromGitHub {
owner = "crate-ci";
repo = pname;
rev = "v${version}";
hash = "sha256-rE1JK6bG8yNItzsXEggTqKFuIwlFLDnIlNBUCjb9XOg=";
repo = "typos";
tag = "v${version}";
hash = "sha256-UNm5mQYkB9tiNpmXfxBNLyJDd+nwccflCdJEPaYzHWw=";
};

cargoHash = "sha256-DQWOAlVKtB0l0qaHCgsrUl239PcKDnic3kdKoSgOjik=";
cargoHash = "sha256-CcRzPlkUqAZ2y+klRtLy+uGbMSpnr724rkcAkOzPHY4=";

passthru = {
tests.version = testers.testVersion { package = typos; };
passthru.updateScript = nix-update-script { };

updateScript = nix-update-script { };
};
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];

meta = with lib; {
meta = {
description = "Source code spell checker";
mainProgram = "typos";
homepage = "https://github.com/crate-ci/typos";
changelog = "https://github.com/crate-ci/typos/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [
changelog = "https://github.com/crate-ci/typos/blob/v${version}/CHANGELOG.md";
license = with lib.licenses; [
asl20 # or
mit
];
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
figsoda
mgttlinger
];
Expand Down

0 comments on commit 76af251

Please sign in to comment.