guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

85/276: gnu: rust-clang-ast-0.1: Update to 0.1.20.


From: guix-commits
Subject: 85/276: gnu: rust-clang-ast-0.1: Update to 0.1.20.
Date: Wed, 18 Oct 2023 04:49:28 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit b38a0bcb75b48bcb40517152221f242050f9b669
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 21:40:23 2023 +0300

    gnu: rust-clang-ast-0.1: Update to 0.1.20.
    
    * gnu/packages/crates-io.scm (rust-clang-ast-0.1): Update to 0.1.20.
    [arguments]: Don't skip build. Skip tests.
    [cargo-inputs]: Add rust-rustc-hash-1.
    [cargo-development-inputs]: Add rust-rustversion-1,
    rust-rust-serde-derive-1. Remove rust-serde-1.
---
 gnu/packages/crates-io.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ab4ed1591..cb8d304126 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11965,24 +11965,24 @@ usage.")
 (define-public rust-clang-ast-0.1
   (package
     (name "rust-clang-ast")
-    (version "0.1.6")
+    (version "0.1.20")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "clang-ast" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
+        (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32
-          "1sfqyxszas78s78nga88fl0i5qlr87qsj22vlxarhvx96q86impf"))))
+         (base32 "04qf9kpc2r3ca7c5x8bjp1daj42k69q12q8mz7bhajbm9rpafb8m"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t     ; Uses unstable features.
+     `(#:tests? #f      ; Fails to build clang-ast-test-suite.
        #:cargo-inputs
-       (("rust-serde" ,rust-serde-1))
+       (("rust-rustc-hash" ,rust-rustc-hash-1)
+        ("rust-serde" ,rust-serde-1))
        #:cargo-development-inputs
        (("rust-clang-ast-test-suite" ,rust-clang-ast-test-suite-0.0.0)
-        ("rust-serde" ,rust-serde-1)
+        ("rust-rustversion" ,rust-rustversion-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-serde-json" ,rust-serde-json-1))))
     (home-page "https://github.com/dtolnay/clang-ast";)
     (synopsis "Data structures for processing Clang's ast format")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]