autocorrect: 2.14.1 -> 2.16.2 (#466187)
This commit is contained in:
@@ -2,20 +2,21 @@
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "autocorrect";
|
||||
version = "2.14.1";
|
||||
version = "2.16.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huacnlee";
|
||||
repo = "autocorrect";
|
||||
rev = "5af1bc295d48b0fd04f7dbc35ea99d479f682e78";
|
||||
hash = "sha256-tbN+48a8NnwirJqUci0LgxsvJI0KzuG/aDvV/Yr8Xu8=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-IpBEmgZ40CFHMISP4tRzt2c2bE2Di9tn8e+/YJPg9RA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-cEiIs7wvfjP5/tkRtYb2XEZfssw09zkbOrqZsOX9ajQ=";
|
||||
cargoHash = "sha256-sn+72+Qq7qppaiiiMS46RXVhFcm27lCPgXmAIYORKU8=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
@@ -26,6 +27,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
"autocorrect-cli"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Linter and formatter for help you improve copywriting, to correct spaces, punctuations between CJK (Chinese, Japanese, Korean)";
|
||||
mainProgram = "autocorrect";
|
||||
|
||||
Reference in New Issue
Block a user