aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPierre Langlois <pierre.langlois@gmx.com>2023-05-07 14:26:22 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:37:56 +0300
commitde490476ca7cc1f2a1eebb441844ccfb18e3efc0 (patch)
tree787023dafb48299cf082e1e9bb67d28e96f3cf24 /gnu/packages
parent84c70fd18a9f6f9199d287b2fc43b53dfb4926d1 (diff)
downloadguix-de490476ca7cc1f2a1eebb441844ccfb18e3efc0.tar.gz
guix-de490476ca7cc1f2a1eebb441844ccfb18e3efc0.zip
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 <efraim@flashner.co.il> Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tree-sitter.scm13
1 files changed, 7 insertions, 6 deletions
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"