guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/156: gnu: Add rust-compound-duration-1.


From: guix-commits
Subject: 10/156: gnu: Add rust-compound-duration-1.
Date: Tue, 24 Oct 2023 08:52:00 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 9b3f66be5aea2827c949aa450b9722d9398d0875
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 23 22:29:59 2023 +0300

    gnu: Add rust-compound-duration-1.
    
    * gnu/packages/crates-io.scm (rust-compound-duration-1): New variable.
    
    Change-Id: I12876b700a8b555ac86c6f3806a2eb0acffd869b
---
 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 0927fdc87d..80bfd8f3a1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14338,6 +14338,25 @@ idiomatic wrappers for Mac OS X's CommonCrypto 
library.")
 stores strings on the stack, when possible.")
     (license license:expat)))
 
+(define-public rust-compound-duration-1
+  (package
+    (name "rust-compound-duration")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "compound-duration" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0rb5kasd7044xxb73wz2qqxv6iwawp9gipvqhya8yybafh7a679r"))))
+    (build-system cargo-build-system)
+    (home-page "https://docs.rs/compound_duration/latest/compound_duration/";)
+    (synopsis "Convert seconds to compound duration")
+    (description
+     "Convert seconds to compound duration, such as: week, days, hours,
+minutes, seconds.")
+    (license license:bsd-3)))
+
 (define-public rust-const-cstr-0.3
   (package
     (name "rust-const-cstr")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]