gnu: Add rust-mock-instant-0.2.

* gnu/packages/crates-io.scm (rust-mock-instant-0.2): New variable.
This commit is contained in:
Efraim Flashner 2023-03-09 17:54:12 +02:00
parent 1b231ece31
commit d3b1000829
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -35447,6 +35447,25 @@ (define-public rust-miow-0.2
#: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")