summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorWilko Meyer <w@wmeyer.eu>2023-07-27 16:31:06 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:23 +0200
commitbf0f9437b0365b791626c65b91aae270d3b11b42 (patch)
treea6fa76b4f2f608c65b7cbbcaa24908fc41b74203 /gnu/packages
parentc013502e7f24170e2f84ef6179ad98fc4f473ad9 (diff)
downloadguix-bf0f9437b0365b791626c65b91aae270d3b11b42.tar.gz
gnu: Add rust-memory-units-0.4.
* gnu/packages/crates-io.scm (rust-memory-units-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I55d8ae5439f8d53b7ace62381316a66720799f26
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ea78d50b1..6c0822f791 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43119,6 +43119,23 @@ for Rust structs.")
        (("rust-doc-comment" ,rust-doc-comment-0.3))))
     (inputs '())))
 
+(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)
+    (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-memsec-0.6
   (package
     (name "rust-memsec")