guix-commits
[Top][All Lists]
Advanced

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

116/156: gnu: Add rust-gix-date-0.5.


From: guix-commits
Subject: 116/156: gnu: Add rust-gix-date-0.5.
Date: Tue, 24 Oct 2023 08:52:59 -0400 (EDT)

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

commit 82db530e1d82156f998fb310b4c36c3a3b4111c3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 09:12:17 2023 +0300

    gnu: Add rust-gix-date-0.5.
    
    * gnu/packages/crates-io.scm (rust-gix-date-0.5): New variable.
    
    Change-Id: Ia5d2f9df956b03681875126f05428ee0f4546c03
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d6b155d807..b825e016b4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29829,6 +29829,35 @@ libcurl, which is intended to be used with the 
@code{git2} crate.")
         ("rust-log" ,rust-log-0.4)
         ("rust-url" ,rust-url-2))))))
 
+(define-public rust-gix-date-0.5
+  (package
+    (name "rust-gix-date")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-date" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00jrc86398553z2mdljx9vh8skqgdydhsrr11ak3148fcx2l25mw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bstr" ,rust-bstr-1)
+        ("rust-document-features" ,rust-document-features-0.2)
+        ("rust-itoa" ,rust-itoa-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-time" ,rust-time-0.3))
+       #:cargo-development-inputs
+       (("rust-once-cell" ,rust-once-cell-1))))
+    (home-page "https://github.com/Byron/gitoxide";)
+    (synopsis "Parse dates the way git does")
+    (description
+     "This package provides a crate of the gitoxide project parsing dates the
+way git does.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-diff-0.30
   (package
     (name "rust-gix-diff")



reply via email to

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