guix-commits
[Top][All Lists]
Advanced

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

88/330: gnu: Add rust-multiversion-macros-0.7.


From: guix-commits
Subject: 88/330: gnu: Add rust-multiversion-macros-0.7.
Date: Mon, 18 Mar 2024 07:15:23 -0400 (EDT)

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

commit 6a98af2ff7cdacf52c7b707064182bc905a1ae07
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:22:11 2024 +0200

    gnu: Add rust-multiversion-macros-0.7.
    
    * gnu/packages/crates-io.scm (rust-multiversion-macros-0.7): New
    variable.
    (rust-multiversion-macros-0.6): Inherit from
    rust-multiversion-macros-0.7.
    
    Change-Id: I376fad2b715adfad4650f0fa078a12c297736475
---
 gnu/packages/crates-io.scm | 35 ++++++++++++++++++++++++++---------
 1 file changed, 26 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 87076a2f8d..6f8238b219 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39381,30 +39381,47 @@ multiplication and division with overflow 
protection.")
 macros for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-multiversion-macros-0.7
+  (package
+    (name "rust-multiversion-macros")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "multiversion-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j1avbxw7jscyi7dmnywhlwbiny1fvg1vpp9fy4dc1pd022kva16"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1)
+                       ("rust-target-features" ,rust-target-features-0.1))))
+    (home-page "https://github.com/calebzulawski/multiversion";)
+    (synopsis "Implementation crate for multiversion")
+    (description "This is an implementation crate for multiversion Rust
+library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-multiversion-macros-0.6
   (package
+    (inherit rust-multiversion-macros-0.7)
     (name "rust-multiversion-macros")
     (version "0.6.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "multiversion-macros" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1bzkmxgyiwsanqf4lsdzx5gn4harza4rdrzkq5hgksw2wfyy58x8"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/calebzulawski/multiversion";)
-    (synopsis "Implementation crate for multiversion")
-    (description "This is an implementation crate for multiversion Rust
-library.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-syn" ,rust-syn-1))))))
 
 (define-public rust-mustache-0.9
   (package



reply via email to

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