mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: Add rust-mock-instant-0.2.
* gnu/packages/crates-io.scm (rust-mock-instant-0.2): New variable.
This commit is contained in:
parent
1b231ece31
commit
d3b1000829
1 changed files with 19 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue