guix-commits
[Top][All Lists]
Advanced

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

68/475: gnu: rust-time-0.3: Update to 0.3.19.


From: guix-commits
Subject: 68/475: gnu: rust-time-0.3: Update to 0.3.19.
Date: Sun, 7 May 2023 12:46:05 -0400 (EDT)

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

commit cae9a2be953bf16ec7cae7797e1ab5196b5138a7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 11:47:13 2023 +0200

    gnu: rust-time-0.3: Update to 0.3.19.
    
    * gnu/packages/crates-io.scm (rust-time-0.3): Update to 0.3.19.
    [cargo-inputs]: Replace rust-itoa-0.4 with 1. Add rust-js-0.3,
    rust-num-threads-1, rust-time-core-0.1.
---
 gnu/packages/crates-io.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 892ea15285..30b871a686 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61639,23 +61639,30 @@ introspection APIs.")
 (define-public rust-time-0.3
   (package
     (name "rust-time")
-    (version "0.3.5")
+    (version "0.3.19")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "time" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1b943jf54q1667i328x3z73fsjdhcqdqccxckx1nzwwaz9ygxvs1"))))
+        (base32 "1hnnp3138zxk42r077jxhk1kma16bn9di1w5k3yzi3zd7wxhl9ak"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("=0\\.2\\.7") "^0.2.7"))))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-itoa" ,rust-itoa-0.4)
+       (("rust-itoa" ,rust-itoa-1)
+        ("rust-js-sys" ,rust-js-sys-0.3)
         ("rust-libc" ,rust-libc-0.2)
+        ("rust-num-threads" ,rust-num-threads-0.1)
         ("rust-quickcheck" ,rust-quickcheck-1)
         ("rust-rand" ,rust-rand-0.8)
         ("rust-serde" ,rust-serde-1)
+        ("rust-time-core" ,rust-time-core-0.1)
         ("rust-time-macros" ,rust-time-macros-0.2))))
     (home-page "https://github.com/time-rs/time";)
     (synopsis "Date and time library")



reply via email to

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