[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/37: gnu: Add rust-mock-instant-0.2.
From: |
guix-commits |
Subject: |
28/37: gnu: Add rust-mock-instant-0.2. |
Date: |
Thu, 9 Mar 2023 12:12:07 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 0bc7e25db947313816e4978fa71b2526e9caf20e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 9 17:54:12 2023 +0200
gnu: Add rust-mock-instant-0.2.
* gnu/packages/crates-io.scm (rust-mock-instant-0.2): New variable.
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 063c8224e6..c00599c557 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35278,6 +35278,25 @@ IOCP and Async I/O abstractions.")
#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))))
+(define-public rust-mock-instant-0.2
+ (package
+ (name "rust-mock-instant")
+ (version "0.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "mock-instant" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"0vg0kmz96zazjdq57l57nm24mc2in57y090ywcq827xq8fi2jzki"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/museun/mock_instant")
+ (synopsis "Mock an std::time::Instant")
+ (description
+ "This package provides a simple way to mock an std::time::Instant in
rust.")
+ (license license:bsd-0)))
+
(define-public rust-mockall-0.11
(package
(name "rust-mockall")
- 05/37: gnu: rust-insta-1: Update to 1.28.0., (continued)
- 05/37: gnu: rust-insta-1: Update to 1.28.0., guix-commits, 2023/03/09
- 08/37: gnu: rust-linked-hash-map-0.5: Update to 0.5.6., guix-commits, 2023/03/09
- 09/37: gnu: Add rust-lscolors-0.13., guix-commits, 2023/03/09
- 10/37: gnu: rust-nix-0.26: Update to 0.26.2., guix-commits, 2023/03/09
- 12/37: gnu: rust-signal-hook-mio-0.2: Update to 0.2.3., guix-commits, 2023/03/09
- 16/37: gnu: fd: Update to 8.7.0., guix-commits, 2023/03/09
- 17/37: gnu: Add rust-test-case-macros-2., guix-commits, 2023/03/09
- 19/37: gnu: Add rust-nu-ansi-term-0.46., guix-commits, 2023/03/09
- 23/37: gnu: rust-signal-hook-0.3: Update to 0.3.15., guix-commits, 2023/03/09
- 24/37: gnu: rust-similar-asserts-1: Update to 1.4.2., guix-commits, 2023/03/09
- 28/37: gnu: Add rust-mock-instant-0.2.,
guix-commits <=
- 32/37: gnu: rust-arbitrary-1: Update to 1.2.3., guix-commits, 2023/03/09
- 34/37: gnu: rust-bytes-1: Update to 1.4.0., guix-commits, 2023/03/09
- 35/37: gnu: rust-derive-arbitrary-1: Update to 1.2.3., guix-commits, 2023/03/09
- 36/37: gnu: rust-env-logger-0.9: Update to 0.9.3., guix-commits, 2023/03/09
- 30/37: gnu: rust-aho-corasick-0.7: Update to 0.7.20., guix-commits, 2023/03/09
- 37/37: gnu: rust-fixedbitset-0.4: Update to 0.4.2., guix-commits, 2023/03/09
- 33/37: gnu: rust-bit-set-0.5: Update to 0.5.3., guix-commits, 2023/03/09