guix-commits
[Top][All Lists]
Advanced

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

222/276: gnu: Add rust-core2-0.4.


From: guix-commits
Subject: 222/276: gnu: Add rust-core2-0.4.
Date: Wed, 18 Oct 2023 04:50:17 -0400 (EDT)

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

commit e2ed4b9b237f8aa0d390bdafc8fff5a97ac3554b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 9 09:17:41 2023 +0300

    gnu: Add rust-core2-0.4.
    
    * gnu/packages/crates-io.scm (rust-core2-0.4): New variable.
    (rust-core2-0.3): Inherit from rust-core2-0.4.
---
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 79490eb18f..2551c99474 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15385,19 +15385,20 @@ numbers using the CORDIC method.")
     (description "Implementation detail of the @code{core_extensions} crate.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-core2-0.3
+(define-public rust-core2-0.4
   (package
     (name "rust-core2")
-    (version "0.3.3")
+    (version "0.4.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "core2" version))
-        (file-name (string-append name "-" version ".tar.gz"))
-        (sha256
-          (base32 "1wzzy5iazdk5caadxvjfwrd312rbg7a55a1zpmsdrhk3kfpa77r3"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01f5xv0kf3ds3xm7byg78hycbanb8zlpvsfv4j47y46n3bpsg6xl"))))
     (build-system cargo-build-system)
-    (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2))))
+    (arguments
+     `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2))))
     (home-page "https://github.com/bbqsrc/core2";)
     (synopsis "Bare essentials of @code{std::io} for use in @code{no_std}")
     (description
@@ -15405,6 +15406,20 @@ numbers using the CORDIC method.")
 in @code{no_std}.  Alloc support is optional.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-core2-0.3
+  (package
+    (inherit rust-core2-0.4)
+    (name "rust-core2")
+    (version "0.3.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "core2" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32 "1wzzy5iazdk5caadxvjfwrd312rbg7a55a1zpmsdrhk3kfpa77r3"))))
+    (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2))))))
+
 (define-public rust-cookie-store-0.19
   (package
     (name "rust-cookie-store")



reply via email to

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