diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-02-02 03:15:28 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-27 20:59:53 +0200 |
commit | 46f89491634149488fd14034d7ef9df94ab4c9de (patch) | |
tree | 0fb3db377ea3256396bcf9f18d31e4dfe603c1ad | |
parent | e4c27df85b5187236ac5c452020c1a5e495c69b3 (diff) | |
download | guix-patches-46f89491634149488fd14034d7ef9df94ab4c9de.tar guix-patches-46f89491634149488fd14034d7ef9df94ab4c9de.tar.gz |
gnu: Add rust-instant-0.1.
* gnu/packages/crates-io.scm (rust-instant-0.1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cc4fa442fb..e1bded118b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7751,6 +7751,36 @@ in Rust.") "This package provides a snapshot testing library for Rust.") (license license:asl2.0))) +(define-public rust-instant-0.1 + (package + (name "rust-instant") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "instant" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bwca9fr29a1pyimfl94q6m6k2l57ljw1hhhvjafzs1zkqlnqd3c")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-stdweb" ,rust-stdweb-0.4) + ("rust-time" ,rust-time-0.1) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))) + (home-page "https://github.com/sebcrozet/instant") + (synopsis + "Partial replacement for std::time::Instant that works on WASM too") + (description + "This package provides a partial replacement for @code{std::time::Instant} +that works on WASM too.") + (license license:bsd-3))) + (define-public rust-intervaltree-0.2 (package (name "rust-intervaltree") |