lol
at 23.05-pre 22 lines 581 B view raw
1{ fetchFromGitHub, rustPlatform, lib }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "typos"; 5 version = "1.11.1"; 6 7 src = fetchFromGitHub { 8 owner = "crate-ci"; 9 repo = pname; 10 rev = "v${version}"; 11 hash = "sha256-jQmihZl1mKBHg7HLKAbe9uuL1QM+cF0beFj8htz0IOU="; 12 }; 13 14 cargoHash = "sha256-bO9QMMJY+gQyV811qXdwiH1oxW+5Q+dZqG/oT35Eze4="; 15 16 meta = with lib; { 17 description = "Source code spell checker"; 18 homepage = "https://github.com/crate-ci/typos/"; 19 license = with licenses; [ asl20 /* or */ mit ]; 20 maintainers = [ maintainers.mgttlinger ]; 21 }; 22}