Subject: [bug#74432] [rust-team 8/9] gnu: crates-io: Add rust-secfmt

From: Divya Ranjan <[email-masked]>
Date: Tue, 19 Nov 2024 07:32:16 +0000

* gnu/packages/crates-io.scm (rust-secfmt-0.1): New variable

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f40a8da4d5..7fcba22e77 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71001,6 +71001,26 @@ (define-public rust-seccomp-sys-0.1
     (description "This package provides low-level bindings to libseccomp.")
     (license license:lgpl2.1)))
 
+(define-public rust-secfmt-0.1
+  (package
+    (name "rust-secfmt")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "secfmt" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0710fwskvbgz5kzsa3c29j47bs5lbhkn27qabmy9j48phqr39iy8"))))
+    (build-system cargo-build-system)
+    (home-page "https://crates.io/crates/secfmt")
+    (synopsis
+     "Converts seconds into a human readable format (struct) containing years, days, hours, minutes and seconds")
+    (description
+     "This package provides Converts seconds into a human readable format (struct) containing years, days,
+hours, minutes and seconds.")
+    (license license:expat)))
+
 (define-public rust-secrecy-0.8
   (package
     (name "rust-secrecy")
-- 
2.46.0