summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 18:36:46 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:24 -0500
commitef87542c3304e5bf0319d7afe9a59938b65215d2 (patch)
treeac0e24d4edd8e527ad279195ec4607d7ee77e7e3
parent9231b43c3552bb38c5af34c7b2d35272b8b2935d (diff)
downloadguix-ef87542c3304e5bf0319d7afe9a59938b65215d2.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.
-rw-r--r--gnu/packages/crates-io.scm40
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)