Subject: [PATCH 38/55] gnu: Add rust-generic-array-0.11.

From: Jaeme Sifat <[email-masked]>
Date: Tue, 19 Dec 2023 22:55:00 -0500

* gnu/packages/crates-io.scm (rust-generic-array-0.11): New variable.

Change-Id: I07eaa24cf8b31cd715ea3b72f56cffb8a6ab39d3
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3836631603..cbd23ba0be 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29310,6 +29310,28 @@ (define-public rust-generic-array-0.12
         (base32
          "1gfpay78vijl9vrwl1k9v7fbvbhkhcmnrk4kfg9l6x24y4s9zpzz"))))))
 
+(define-public rust-generic-array-0.11
+  (package
+    (inherit rust-generic-array-0.13)
+    (name "rust-generic-array")
+    (version "0.11.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "generic-array" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0a7w8w0rg47nmcinnfzv443lcyb8mplwc251p1jyr5xj2yh6wzv6"))))
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=arr::doctests_only::DocTests (line 116)"
+                            "--skip=arr::doctests_only::DocTests (line 85)")
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-typenum" ,rust-typenum-1))
+       #:cargo-development-inputs
+       (("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-generic-array-0.9
   (package
     (inherit rust-generic-array-0.14)
-- 
2.41.0