Subject: [PATCH 2/9] gnu: Added rust-memory-units-0.4.

From: Wilko Meyer <[email-masked]>
Date: Thu, 27 Jul 2023 16:31:06 +0200

* Added rust-memory-units-0.4 to crates-io.scm
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 91f94af642..95c3671133 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35166,6 +35166,25 @@ (define-public rust-memmap2-0.1
        (sha256
         (base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr"))))))
 
+(define-public rust-memory-units-0.4
+  (package
+    (name "rust-memory-units")
+    (version "0.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "memory_units" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1hyk1alsdpcw5r33c5yn7pk9h259klfxv4vhzx08y1j7l1di0ll4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/pepyakin/memory_units")
+    (synopsis "Safe conversions between units of memory")
+    (description "Safe conversions between units of memory")
+    (license license:mpl2.0)))
+
 (define-public rust-memoffset-0.7
   (package
     (name "rust-memoffset")
-- 
2.40.1