{ lib, rustPlatform, fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "typos"; version = "1.15.9"; src = fetchFromGitHub { owner = "crate-ci"; repo = pname; rev = "v${version}"; hash = "sha256-vQYNWjJlxh2hIoJbSggfLvngQxEK85u0W9/6sRI3YPw="; }; cargoHash = "sha256-JRgVKc1W+J9hlY22PAw7cAyPrwSS/Xla6/R193S39k0="; meta = with lib; { description = "Source code spell checker"; homepage = "https://github.com/crate-ci/typos"; changelog = "https://github.com/crate-ci/typos/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ figsoda mgttlinger ]; }; }