diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 18:36:46 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:53:08 +0100 |
commit | b8fb919cac1e8cf938d53ebb7c6e6fdfb26f6b8c (patch) | |
tree | 97f329975af194c95e2ab9cfe342e1348eea4546 /gnu/packages/crates-io.scm | |
parent | 8760007e521852027beec7a8ecfc2c716be4f5d6 (diff) | |
download | guix-patches-b8fb919cac1e8cf938d53ebb7c6e6fdfb26f6b8c.tar guix-patches-b8fb919cac1e8cf938d53ebb7c6e6fdfb26f6b8c.tar.gz |
gnu: Add rust-heapless-0.7.
* gnu/packages/crates-io.scm (rust-heapless-0.7): New variable.
(rust-heapless-0.6): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0afe848156..d3f77c5173 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23323,33 +23323,59 @@ 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 +(define-public rust-heapless-0.7 (package (name "rust-heapless") - (version "0.6.1") + (version "0.7.9") (source (origin (method url-fetch) (uri (crate-uri "heapless" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08il083hcffis6km4is24kf2j0cnqs0bzz2b196l495zkk9d8jv3")))) + (base32 "0lnrbzf1cpxg3n5s00lyi1gal2ajkqzsrw11arrc6rbn35j6qivy")))) (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-atomic-polyfill" ,rust-atomic-polyfill-0.1) + ("rust-defmt" ,rust-defmt-0.3) + ("rust-hash32" ,rust-hash32-0.2) ("rust-serde" ,rust-serde-1) + ("rust-spin" ,rust-spin-0.9) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) - ("rust-ufmt-write" ,rust-ufmt-write-0.1)))) + ("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)))) +(define-public rust-heapless-0.6 + (package + (inherit rust-heapless-0.7) + (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")))) + (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)))))) + (define-public rust-heapless-0.5 (package (inherit rust-heapless-0.6) |