[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
68/68: gnu: Add rust-web-time-1.
From: |
guix-commits |
Subject: |
68/68: gnu: Add rust-web-time-1. |
Date: |
Wed, 20 Mar 2024 11:24:41 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit edcc8778feb07be4086a6e557be6ac2175c31fcf
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:09:17 2024 +0100
gnu: Add rust-web-time-1.
* gnu/packages/crates-io.scm (rust-web-time-1): Add variable.
(rust-web-time-0.2): Inherit from rust-web-time-1.
Change-Id: I8e3d9270bb06baa051bb9eff8a7a507c5ac4a9ad
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++-----
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f0502d9de8..4eee577e59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83995,21 +83995,22 @@ for terminal and other window-less applications.")
"Bindings for all Web APIs, a procedurally generated crate from WebIDL.")
(license (list license:expat license:asl2.0))))
-(define-public rust-web-time-0.2
+(define-public rust-web-time-1
(package
(name "rust-web-time")
- (version "0.2.4")
+ (version "1.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "web-time" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1q6gk0nkwbfz30g1pz8g52mq00zjx7m5im36k3474aw73jdh8c5a"))))
+ (base32 "1fx05yqx83dhx628wb70fyy10yjfq1jpl20qfqhdkymi13rq0ras"))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ; Not all files included.
+ `(#:tests? #f ; TODO: check if not all files included.
#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-serde" ,rust-serde-1)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
#:cargo-development-inputs
(("rust-futures-channel" ,rust-futures-channel-0.3)
@@ -84017,15 +84018,43 @@ for terminal and other window-less applications.")
("rust-getrandom" ,rust-getrandom-0.2)
("rust-pollster" ,rust-pollster-0.3)
("rust-rand" ,rust-rand-0.8)
+ ("rust-serde-json" ,rust-serde-json-1)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
("rust-web-sys" ,rust-web-sys-0.3))))
(home-page "https://github.com/daxpedda/web-time")
(synopsis "Drop-in replacement for std::time for Wasm in browsers")
(description
- "Drop-in replacement for @code{std::time} for Wasm in browsers.")
+ "This package provides a drop-in replacement for @code{std::time}
+for Wasm in browsers.")
(license (list license:expat license:asl2.0))))
+(define-public rust-web-time-0.2
+ (package
+ (inherit rust-web-time-1)
+ (name "rust-web-time")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "web-time" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1q6gk0nkwbfz30g1pz8g52mq00zjx7m5im36k3474aw73jdh8c5a"))))
+ (arguments
+ `(#:tests? #f ; TODO: check if not all files included.
+ #:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
+ #:cargo-development-inputs
+ (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-pollster" ,rust-pollster-0.3)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
+ ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)
+ ("rust-web-sys" ,rust-web-sys-0.3))))))
+
(define-public rust-webbrowser-0.8
(package
(name "rust-webbrowser")
- 39/68: gnu: Add rust-wiremock-0.5., (continued)
- 39/68: gnu: Add rust-wiremock-0.5., guix-commits, 2024/03/20
- 40/68: gnu: rust-darling-core-0.13: Update to 0.13.4., guix-commits, 2024/03/20
- 46/68: gnu: rust-surf-2: Update to 2.3.2., guix-commits, 2024/03/20
- 47/68: gnu: rust-trust-dns-proto-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 41/68: gnu: rust-darling-macro-0.13: Update to 0.13.4., guix-commits, 2024/03/20
- 53/68: gnu: rust-actix-connect-1: Don't skip the build., guix-commits, 2024/03/20
- 50/68: gnu: rust-trust-dns-openssl-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 51/68: gnu: rust-trust-dns-https-0.18: Downgrade to 0.18.0-alpha.2., guix-commits, 2024/03/20
- 54/68: gnu: Add rust-serde-with-macros-1., guix-commits, 2024/03/20
- 64/68: gnu: Add rust-pkcs7-0.4., guix-commits, 2024/03/20
- 68/68: gnu: Add rust-web-time-1.,
guix-commits <=
- 66/68: gnu: Add rust-deadpool-sync-0.1., guix-commits, 2024/03/20
- 29/68: gnu: Add rust-config-0.13., guix-commits, 2024/03/20
- 59/68: gnu: rust-anstyle-parse-0.2: Update to 0.2.3., guix-commits, 2024/03/20
- 34/68: gnu: rust-ordered-float-3: Update to 3.9.2., guix-commits, 2024/03/20
- 44/68: gnu: rust-http-client-6: Update to 6.5.3., guix-commits, 2024/03/20
- 57/68: gnu: Add rust-tls-codec-0.4., guix-commits, 2024/03/20