Subject: [bug#67515] [PATCH 29/91] gnu: Add rust-file-size-1.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:07 +0100

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

Change-Id: Iaf250012ee2499f14f1bdbd303e9b3acbac3cb00
---
 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 c2d899ae67..9d47e9c03c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25841,6 +25841,23 @@ (define-public rust-file-diff-1
     (description "An atomic utility for diffing files in testing.")
     (license license:bsd-3)))
 
+(define-public rust-file-size-1
+  (package
+    (name "rust-file-size")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "file-size" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cyj7067fs7ml8pjrwzjy3qrns3yxaxakf0na1v5fffk0l0z2i4m"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/Canop/file-size")
+    (synopsis "a function formatting file sizes in 4 chars")
+    (description "a function formatting file sizes in 4 chars")
+    (license license:expat)))
+
 (define-public rust-filesize-0.2
   (package
     (name "rust-filesize")
-- 
2.41.0