Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 23 lines 676 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "typos"; 5 version = "1.15.0"; 6 7 src = fetchFromGitHub { 8 owner = "crate-ci"; 9 repo = pname; 10 rev = "v${version}"; 11 hash = "sha256-SbWwrvfLawWoVuCG9b4PrA5cdc+DLqJw2uSF3oha9Po="; 12 }; 13 14 cargoHash = "sha256-XLnN6kCjHntqZu80Uvm95pCabjR5QMvsumb+V002N2Y="; 15 16 meta = with lib; { 17 description = "Source code spell checker"; 18 homepage = "https://github.com/crate-ci/typos"; 19 changelog = "https://github.com/crate-ci/typos/blob/${src.rev}/CHANGELOG.md"; 20 license = with licenses; [ asl20 /* or */ mit ]; 21 maintainers = with maintainers; [ figsoda mgttlinger ]; 22 }; 23}