guix-commits
[Top][All Lists]
Advanced

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

95/330: gnu: Add rust-as-derive-utils-0.11.


From: guix-commits
Subject: 95/330: gnu: Add rust-as-derive-utils-0.11.
Date: Mon, 18 Mar 2024 07:15:27 -0400 (EDT)

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

commit 45a1aaaebdf7f86259d74bad5d9c3d4548a394d0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:26:21 2024 +0200

    gnu: Add rust-as-derive-utils-0.11.
    
    * gnu/packages/crates-io.scm (rust-as-derive-utils-0.11): New variable.
    (rust-as-derive-utils-0.10): Inherit from rust-as-derive-utils-0.11.
    
    Change-Id: If20e88b577ae270da8344bf298e2d1a5b5053775
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++-------
 1 file changed, 32 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 33b297be47..99f9e07e01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3237,8 +3237,39 @@ the web.")
     ;; No copyright headers in the source code.  LICENSE indicates gpl3.
     (license license:gpl3)))
 
+(define-public rust-as-derive-utils-0.11
+  (package
+    (name "rust-as-derive-utils")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "as_derive_utils" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1i2kwzxdhydicj9bqscz5w73nmx612yi3ha137qlr900b5j9cg7z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f              ; Only doc tests, which fail.
+       #:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-0.7)
+                       ("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-core-extensions" ,rust-core-extensions-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-ron" ,rust-ron-0.7)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-derive" ,rust-serde-derive-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/rodrimati1992/abi_stable_crates/";)
+    (synopsis "Private derive utilities used by abi_stable and structural")
+    (description "This package contains private derive utilities used by
+the abi_stable and structural crates.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-as-derive-utils-0.10
   (package
+    (inherit rust-as-derive-utils-0.11)
     (name "rust-as-derive-utils")
     (version "0.10.3")
     (source
@@ -3255,7 +3286,6 @@ the web.")
                                    " 
<([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)")
                     _ version _)
                    (string-append ">=" version)))))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f              ; Only doc tests, which fail.
        #:cargo-inputs
@@ -3268,12 +3298,7 @@ the web.")
         ("rust-ron" ,rust-ron-0.6)
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-derive" ,rust-serde-derive-1)
-        ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/rodrimati1992/abi_stable_crates/";)
-    (synopsis "Private derive utilities used by abi_stable and structural")
-    (description "This package contains private derive utilities used by
-the abi_stable and structural crates.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-as-derive-utils-0.8
   (package



reply via email to

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