[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69257] [PATCH 187/228] gnu: Add rust-web-time-1.
From: |
Herman Rimm |
Subject: |
[bug#69257] [PATCH 187/228] gnu: Add rust-web-time-1. |
Date: |
Sun, 18 Feb 2024 22:09:17 +0100 |
* 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
---
gnu/packages/crates-io.scm | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dcb87e0b0b..a1e357eef2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80397,20 +80397,20 @@ (define-public rust-web-sys-0.3
"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.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "web-time" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1q6gk0nkwbfz30g1pz8g52mq00zjx7m5im36k3474aw73jdh8c5a"))))
+ (base32 "1c7pkivwgxdkpc2j4ga9pmf9zcqgfp68kijb5ixgg6y25kbnkqif"))))
(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-wasm-bindgen" ,rust-wasm-bindgen-0.2))
#:cargo-development-inputs
@@ -80425,9 +80425,23 @@ (define-public rust-web-time-0.2
(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"))))))
+
(define-public rust-webbrowser-0.8
(package
(name "rust-webbrowser")
--
2.41.0
- [bug#69257] [PATCH 153/228] gnu: Add rust-yap-0.12., (continued)
- [bug#69257] [PATCH 153/228] gnu: Add rust-yap-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 135/228] gnu: Add rust-konst-0.3., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 156/228] gnu: Move rust-fiat-crypto-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 117/228] gnu: Add rust-rust-ini-0.18., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 161/228] gnu: Add rust-strobe-rs-0.8., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 157/228] gnu: Add rust-fiat-crypto-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 167/228] gnu: Add rust-macro-attr-0.2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 162/228] gnu: Add rust-strobe-rs-0.5., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 165/228] gnu: Add rust-ed25519-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 179/228] gnu: Add rust-pkcs7-0.4., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 187/228] gnu: Add rust-web-time-1.,
Herman Rimm <=
- [bug#69257] [PATCH 170/228] gnu: Add rust-ruma-client-api-0.17., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 175/228] gnu: Add rust-matrix-sdk-common-0.7., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 183/228] gnu: Add rust-olm-rs-2., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 172/228] gnu: Add rust-ruma-state-res-0.10., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 188/228] gnu: Add rust-ulid-1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 201/228] gnu: Place rust-serdeconv-0.4 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 207/228] gnu: Add rust-sqlite3-parser-0.12., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 202/228] gnu: Place rust-serde-wasm-bindgen-0.3 in alphabetical order., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 205/228] gnu: Add rust-deadpool-sync-0.1., Herman Rimm, 2024/02/18
- [bug#69257] [PATCH 206/228] gnu: Add rust-fallible-iterator-0.3., Herman Rimm, 2024/02/18