guix-commits
[Top][All Lists]
Advanced

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

265/311: gnu: rust-time-0.3: Update to 0.3.28.


From: guix-commits
Subject: 265/311: gnu: rust-time-0.3: Update to 0.3.28.
Date: Sat, 28 Oct 2023 16:39:34 -0400 (EDT)

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

commit 5ba4f6b0645be2e52bb12ae0a2ecf73053a2c03d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Oct 28 09:54:36 2023 +0300

    gnu: rust-time-0.3: Update to 0.3.28.
    
    * gnu/packages/crates-io.scm (rust-time-0.3): Update to 0.3.28.
    [source]: Remove snippet.
    [arguments]: Don't skip build.  Skip the test suite.
    [cargo-inputs]: Add rust-deranged-0.3.
    [cargo-development-inputs]: Add rust-criterion-0.5,
    rust-quickcheck-macros-1, rust-rand-0.8, rust-serde-1,
    rust-serde-json-1, rust-serde-test-1, rust-time-macros-0.2,
    rust-trybuild-1.
    [home-page]: Update to new home-page.
    
    Change-Id: I76f7e1552ea9522c652d2564e691c2557a136210
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 64b3ae4305..e78c58e2d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77005,32 +77005,37 @@ introspection APIs.")
 (define-public rust-time-0.3
   (package
     (name "rust-time")
-    (version "0.3.19")
+    (version "0.3.28")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "time" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1hnnp3138zxk42r077jxhk1kma16bn9di1w5k3yzi3zd7wxhl9ak"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin (substitute* "Cargo.toml"
-                  (("=0\\.2\\.7") "^0.2.7"))))))
+        (base32 "0j3yl5q4w9vcw55hxxb1a3crls1w82v5dahicj7c4ifjgxavpxhp"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("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)
+     `(#:tests? #f      ; Not all files included
+       #:cargo-inputs (("rust-deranged" ,rust-deranged-0.3)
+                       ("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))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.5)
+        ("rust-quickcheck-macros" ,rust-quickcheck-macros-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";)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serde-test" ,rust-serde-test-1)
+        ("rust-time-macros" ,rust-time-macros-0.2)
+        ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://time-rs.github.io";)
     (synopsis "Date and time library")
     (description "This package provides a date and time library.  It is fully
 interoperable with the standard library, and is mostly compatible with



reply via email to

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