Merge pull request #243901 from r-ryantm/auto-update/ast-grep
ast-grep: 0.8.0 -> 0.9.0
This commit is contained in:
commit
fb52a31d94
1 changed files with 6 additions and 7 deletions
|
@ -6,26 +6,25 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ast-grep";
|
pname = "ast-grep";
|
||||||
version = "0.8.0";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ast-grep";
|
owner = "ast-grep";
|
||||||
repo = "ast-grep";
|
repo = "ast-grep";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-jLb2xMrsBuw+ty1S4X+YdvPfiDyDUuLdJH5dw+e+9Pk=";
|
hash = "sha256-gAzO5ganbwxarqHGVhAl9PtiHEr89puoPJK+iXtrvyU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-ayzR0LjKPXWgtMFznjDDFJM4Ef2HW1HK8aOCcDiwvAA=";
|
cargoHash = "sha256-SvGxDXC1nN6LitWHGcVieHJpEEuY1omqAvjaJmHPauE=";
|
||||||
|
|
||||||
# error: linker `aarch64-linux-gnu-gcc` not found
|
# error: linker `aarch64-linux-gnu-gcc` not found
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm .cargo/config.toml
|
rm .cargo/config.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkFlags = lib.optionals (stdenv.isx86_64 && stdenv.isDarwin) [
|
checkFlags = [
|
||||||
# fails on emulated x86_64-darwin
|
# disable flaky test
|
||||||
# mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')
|
"--skip=test::test_load_parser_mac"
|
||||||
"--skip=test::test_load_parser"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue