me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-web-time-0.2.

* gnu/packages/crates-io.scm (rust-web-time-0.2): New variable.

Change-Id: Id15bb75f20ca9ae348a9807566adb4a65faf65c8
master
Efraim Flashner 2024-01-04 12:07:39 +02:00
parent 3c38fd6ab4
commit 89dbfbe009
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 31 additions and 0 deletions

View File

@ -83077,6 +83077,37 @@ 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
(package
(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"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; 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))))
(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.")
(license (list license:expat license:asl2.0))))
(define-public rust-webbrowser-0.8
(package
(name "rust-webbrowser")