summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-09 09:17:41 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:21 +0300
commite2ed4b9b237f8aa0d390bdafc8fff5a97ac3554b (patch)
tree2b8e25b21fc0d1a199c202e50be3082e955e73cd
parent287e0315381b82bb04ba04f6beabe2687d063291 (diff)
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.
-rw-r--r--gnu/packages/crates-io.scm33
1 files 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")