Merge pull request #259781 from r-ryantm/auto-update/autocorrect

autocorrect: 2.8.5 -> 2.9.0
This commit is contained in:
Weijia Wang 2024-01-19 05:12:34 +01:00 committed by GitHub
commit 2f611d661b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 406 additions and 343 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,14 +1,14 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }: { lib, stdenv, rustPlatform, fetchFromGitHub, Security, SystemConfiguration }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "autocorrect"; pname = "autocorrect";
version = "2.8.5"; version = "2.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "huacnlee"; owner = "huacnlee";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-j59yCGGV6yiT6o+VKM1FPh87T4QG0qAeKgcKIAqpx+8="; sha256 = "sha256-NCDJoKOH4ZaXtGXZ7bgOXrjgrY8Edui+EOOI8/yfW08=";
}; };
cargoLock = { cargoLock = {
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
cp ${./Cargo.lock} Cargo.lock cp ${./Cargo.lock} Cargo.lock
''; '';
buildInputs = lib.optional stdenv.isDarwin Security; buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
cargoBuildFlags = [ "-p" "autocorrect-cli" ]; cargoBuildFlags = [ "-p" "autocorrect-cli" ];
cargoTestFlags = [ "-p" "autocorrect-cli" ]; cargoTestFlags = [ "-p" "autocorrect-cli" ];

View file

@ -15517,7 +15517,7 @@ with pkgs;
asciigraph = callPackage ../tools/text/asciigraph { }; asciigraph = callPackage ../tools/text/asciigraph { };
autocorrect = callPackage ../tools/text/autocorrect { autocorrect = callPackage ../tools/text/autocorrect {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
}; };
as31 = callPackage ../development/compilers/as31 { }; as31 = callPackage ../development/compilers/as31 { };