mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-12 06:41:27 +01:00
gnu: Add rust-mockito-0.23.
* gnu/packages/crates-io.scm (rust-mockito-0.23): New variable.
This commit is contained in:
parent
99f73895c0
commit
9cb0167b72
1 changed files with 34 additions and 0 deletions
|
@ -18448,6 +18448,40 @@ IOCP and Async I/O abstractions.")
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-rand" ,rust-rand-0.3))))))
|
(("rust-rand" ,rust-rand-0.3))))))
|
||||||
|
|
||||||
|
(define-public rust-mockito-0.23
|
||||||
|
(package
|
||||||
|
(name "rust-mockito")
|
||||||
|
(version "0.23.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "mockito" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0kh2wg24441miqcnrp2miaapphn8wgm18x23yjq45pajsjxfd0mf"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-test-flags
|
||||||
|
'("--release"
|
||||||
|
"--"
|
||||||
|
"--skip=test_assert_with_last_unmatched_request"
|
||||||
|
"--skip=test_assert_with_last_unmatched_request_and_headers")
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-assert-json-diff" ,rust-assert-json-diff-1)
|
||||||
|
("rust-colored" ,rust-colored-1)
|
||||||
|
("rust-difference" ,rust-difference-2)
|
||||||
|
("rust-httparse" ,rust-httparse-1)
|
||||||
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
|
("rust-log" ,rust-log-0.4)
|
||||||
|
("rust-percent-encoding" ,rust-percent-encoding-2)
|
||||||
|
("rust-rand" ,rust-rand-0.7)
|
||||||
|
("rust-regex" ,rust-regex-1)
|
||||||
|
("rust-serde-json" ,rust-serde-json-1))))
|
||||||
|
(home-page "https://github.com/lipanski/mockito")
|
||||||
|
(synopsis "HTTP mocking for Rust")
|
||||||
|
(description "This crate provides HTTP mocking for Rust.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-model-0.1
|
(define-public rust-model-0.1
|
||||||
(package
|
(package
|
||||||
(name "rust-model")
|
(name "rust-model")
|
||||||
|
|
Loading…
Add table
Reference in a new issue