Archived
1
0
Fork 0

gnu: Add rust-gloo-timers-0.3.

* gnu/packages/crates-io.scm (rust-gloo-timers-0.3): Add variable.
(rust-gloo-timers-0.2): Inherit from rust-gloo-timers-0.3.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I221d0ea1d442d8d9078a5e96856d4d3c94570cae
This commit is contained in:
Herman Rimm 2024-02-18 22:02:05 +01:00 committed by Efraim Flashner
parent 041f966f26
commit 96b62c271b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -27278,25 +27278,24 @@ inherits many goodies from both, such as limiting search depth and amount of
open file descriptors.") open file descriptors.")
(license license:expat))) (license license:expat)))
(define-public rust-gloo-timers-0.2 (define-public rust-gloo-timers-0.3
(package (package
(name "rust-gloo-timers") (name "rust-gloo-timers")
(version "0.2.1") (version "0.3.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "gloo-timers" version)) (uri (crate-uri "gloo-timers" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827")))) (base32 "1519157n7xppkk6pdw5w52vy1llzn5iljkqd7q1h5609jv7l7cdv"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-futures-channel" ,rust-futures-channel-0.3) (("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-core" ,rust-futures-core-0.3)
("rust-js-sys" ,rust-js-sys-0.3) ("rust-js-sys" ,rust-js-sys-0.3)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2))
("rust-web-sys" ,rust-web-sys-0.3))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-futures-util" ,rust-futures-util-0.3) (("rust-futures-util" ,rust-futures-util-0.3)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
@ -27308,6 +27307,30 @@ open file descriptors.")
timers.") timers.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-gloo-timers-0.2
(package
(inherit rust-gloo-timers-0.3)
(name "rust-gloo-timers")
(version "0.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gloo-timers" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07w999jm1r1i8r574qbmsa3l4w3gxhyx04cbllg0m4pzm934l827"))))
(arguments
`(#:cargo-inputs
(("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-js-sys" ,rust-js-sys-0.3)
("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
("rust-web-sys" ,rust-web-sys-0.3))
#:cargo-development-inputs
(("rust-futures-util" ,rust-futures-util-0.3)
("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4)
("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))))
(define-public rust-gmp-mpfr-sys-1 (define-public rust-gmp-mpfr-sys-1
(package (package
(name "rust-gmp-mpfr-sys") (name "rust-gmp-mpfr-sys")