[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/13: gnu: Add rust-heapless-0.6.
From: |
guix-commits |
Subject: |
12/13: gnu: Add rust-heapless-0.6. |
Date: |
Fri, 14 May 2021 11:04:53 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit fdd342e3c577532d0bc6402f6a30e5de63f10c7f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri May 14 15:14:16 2021 +0200
gnu: Add rust-heapless-0.6.
* gnu/packages/crates-io.scm (rust-heapless-0.6): New variable.
(rust-heapless-0.5): Inherit from above.
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++-------
1 file changed, 29 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26badfa..db51e20 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17680,8 +17680,36 @@ their key-value pairs in a user controllable order.")
(("rust-bytes" ,rust-bytes-0.4)
("rust-http" ,rust-http-0.1))))))
+(define-public rust-heapless-0.6
+ (package
+ (name "rust-heapless")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "heapless" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08il083hcffis6km4is24kf2j0cnqs0bzz2b196l495zkk9d8jv3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-as-slice" ,rust-as-slice-0.1)
+ ("rust-generic-array" ,rust-generic-array-0.14)
+ ("rust-hash32" ,rust-hash32-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)
+ ("rust-ufmt-write" ,rust-ufmt-write-0.1))))
+ (home-page "https://github.com/japaric/heapless")
+ (synopsis "@code{statice} friendly data structures")
+ (description "This package provides @code{static} friendly data structures
+that don't require dynamic memory allocation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-heapless-0.5
(package
+ (inherit rust-heapless-0.6)
(name "rust-heapless")
(version "0.5.5")
(source
@@ -17692,7 +17720,6 @@ their key-value pairs in a user controllable order.")
(sha256
(base32
"1h1d6s1f9zn0rz2vkdn0b42kcnkmlpd90yhfyqqhpirv38ws5a3k"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-as-slice" ,rust-as-slice-0.1)
@@ -17703,12 +17730,7 @@ their key-value pairs in a user controllable order.")
("rust-ufmt-write" ,rust-ufmt-write-0.1))
#:cargo-development-inputs
(("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1)
- ("rust-ufmt" ,rust-ufmt-0.1))))
- (home-page "https://github.com/japaric/heapless")
- (synopsis "@code{statice} friendly data structures")
- (description "This package provides @code{static} friendly data structures
-that don't require dynamic memory allocation.")
- (license (list license:expat license:asl2.0))))
+ ("rust-ufmt" ,rust-ufmt-0.1))))))
(define-public rust-heapsize-0.4
(package
- 04/13: gnu: rust-either-1: Update to 1.6.1., (continued)
- 04/13: gnu: rust-either-1: Update to 1.6.1., guix-commits, 2021/05/14
- 06/13: gnu: rust-dyn-clone-1: Update to 1.0.4., guix-commits, 2021/05/14
- 11/13: gnu: rust-as-slice-0.1: Update to 0.1.5., guix-commits, 2021/05/14
- 13/13: gnu: nushell: Update to 0.31.0., guix-commits, 2021/05/14
- 03/13: gnu: rust-sysinfo-0.16: Update to 0.16.5., guix-commits, 2021/05/14
- 05/13: gnu: rust-which-4: Update to 4.1.0., guix-commits, 2021/05/14
- 08/13: gnu: rust-generic-array-0.13: Update to 0.13.3., guix-commits, 2021/05/14
- 10/13: gnu: rust-generic-array-0.12: Update to 0.12.4., guix-commits, 2021/05/14
- 07/13: gnu: Add rust-common-path-1., guix-commits, 2021/05/14
- 09/13: gnu: rust-generic-array-0.14: Update to 0.14.4., guix-commits, 2021/05/14
- 12/13: gnu: Add rust-heapless-0.6.,
guix-commits <=