From de490476ca7cc1f2a1eebb441844ccfb18e3efc0 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Sun, 7 May 2023 14:26:22 +0100 Subject: gnu: tree-sitter-cli: Fix build with 0.20.8 version. * gnu/packages/tree-sitter.scm (tree-sitter-cli)[arguments] <#:cargo-inputs>: Update rust-tiny-http and rust-webbrowser. <#:cargo-development-inputs>: Add rust-ctor, rust-rand, rust-tempfile and rust-unindent. <#:phases>: Remove unneeded 'delete-cargo-lock phase. Modified-by: Efraim Flashner Signed-off-by: Efraim Flashner --- gnu/packages/tree-sitter.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'gnu/packages/tree-sitter.scm') diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 386409914b..8951c2ff57 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -141,18 +141,19 @@ This package includes the @code{libtree-sitter} runtime library.") ("rust-semver" ,rust-semver-1) ("rust-smallbitvec" ,rust-smallbitvec-2) ("rust-thiserror" ,rust-thiserror-1) - ("rust-tiny-http" ,rust-tiny-http-0.8) + ("rust-tiny-http" ,rust-tiny-http-0.12) ("rust-toml" ,rust-toml-0.5) ("rust-walkdir" ,rust-walkdir-2) - ("rust-webbrowser" ,rust-webbrowser-0.5) + ("rust-webbrowser" ,rust-webbrowser-0.8) ("rust-which" ,rust-which-4)) #:cargo-development-inputs - `(("rust-pretty-assertions" ,rust-pretty-assertions-0.7)) + `(("rust-ctor" ,rust-ctor-0.1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unindent" ,rust-unindent-0.2)) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'delete-cargo-lock - (lambda _ - (delete-file "Cargo.lock"))) (add-after 'unpack 'patch-node (lambda _ (substitute* "cli/src/generate/mod.rs" -- cgit v1.2.3