guix-commits
[Top][All Lists]
Advanced

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

89/330: gnu: Add rust-multiversion-0.7.


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

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

commit 5fb5c5858e1be36a7c73d89bb9508536a21a9e46
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:22:54 2024 +0200

    gnu: Add rust-multiversion-0.7.
    
    * gnu/packages/crates-io.scm (rust-multiversion-0.7): New variable.
    (rust-multiversion-0.6): Inherit from rust-multiversion-0.7.
    
    Change-Id: Iddde2d2efbc74774b2a5752dd086a42185523a16
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f8238b219..40bc7e9f88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39359,28 +39359,46 @@ multiplication and division with overflow 
protection.")
     (description "This package provides a multimap implementation.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-multiversion-0.6
+(define-public rust-multiversion-0.7
   (package
     (name "rust-multiversion")
-    (version "0.6.1")
+    (version "0.7.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "multiversion" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0wsk9ykdqjd6c54rf5l6yb6ps4hx409cda8aa875xk6k7lm9cp02"))))
+        (base32 "0al7yrf489lqzxx291sx9566n7slk2njwlqrxbjhqxk1zvbvkixj"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-multiversion-macros" ,rust-multiversion-macros-0.6))))
+     `(#:cargo-inputs (("rust-multiversion-macros" 
,rust-multiversion-macros-0.7)
+                       ("rust-target-features" ,rust-target-features-0.1))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
+                                   ("rust-rustversion" ,rust-rustversion-1))))
     (home-page "https://github.com/calebzulawski/multiversion";)
     (synopsis "Function multiversioning attribute macros for Rust")
     (description "This crate provides function multiversioning attribute
 macros for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-multiversion-0.6
+  (package
+    (inherit rust-multiversion-0.7)
+    (name "rust-multiversion")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "multiversion" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wsk9ykdqjd6c54rf5l6yb6ps4hx409cda8aa875xk6k7lm9cp02"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-multiversion-macros" ,rust-multiversion-macros-0.6))))))
+
 (define-public rust-multiversion-macros-0.7
   (package
     (name "rust-multiversion-macros")



reply via email to

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