Subject: [PATCH 10/21] gnu: Add rust-page-size-0.5.

From: Jaeme Sifat <[email-masked]>
Date: Sat, 28 Oct 2023 18:51:20 -0400

* gnu/packages/crates-io.scm (rust-page-size-0.5): New variable.

Signed-off-by: Jaeme Sifat <[email-masked]>
Change-Id: I25f9a0595afd0dfd27cace3f0edb81c6a1cc6d01
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 34982f04f4..ff4de868f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48407,6 +48407,23 @@ (define-public rust-page-size-0.6
 memory page size.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-page-size-0.5
+  (package
+    (inherit rust-page-size-0.6)
+    (name "rust-page-size")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "page_size" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0qdm2b6h63bwxy8s6jccd1v30f6dysbq9ylfs0cdikwhs75n6xhv"))))
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-spin" ,rust-spin-0.9)
+                       ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-page-size-0.4
   (package
     (inherit rust-page-size-0.6)
-- 
2.41.0