[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/24: gnu: Add rust-mockito-0.23.
From: |
guix-commits |
Subject: |
03/24: gnu: Add rust-mockito-0.23. |
Date: |
Tue, 5 Jan 2021 15:17:02 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 9cb0167b72d0acba1cc554543161538a1c36de36
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Dec 21 15:52:54 2020 +0100
gnu: Add rust-mockito-0.23.
* gnu/packages/crates-io.scm (rust-mockito-0.23): New variable.
---
gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dfc1c28..c6ebf74 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18448,6 +18448,40 @@ IOCP and Async I/O abstractions.")
#:cargo-development-inputs
(("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
(package
(name "rust-model")
- branch master updated (a5d82fd -> d54597f), guix-commits, 2021/01/05
- 05/24: gnu: Add rust-nanorand-0.4., guix-commits, 2021/01/05
- 02/24: gnu: Add rust-assert-json-diff-1., guix-commits, 2021/01/05
- 09/24: gnu: rust-curl-sys-0.4: Update to 0.4.39+curl-7.74.0., guix-commits, 2021/01/05
- 04/24: gnu: Add rust-sluice-0.5., guix-commits, 2021/01/05
- 01/24: gnu: Add rust-extend-0.1., guix-commits, 2021/01/05
- 06/24: gnu: Add rust-flume-0.9., guix-commits, 2021/01/05
- 10/24: gnu: Add rust-curl-0.4., guix-commits, 2021/01/05
- 07/24: gnu: Add rust-enum-to-u8-slice-derive-0.1., guix-commits, 2021/01/05
- 08/24: gnu: Add rust-mesalink-1., guix-commits, 2021/01/05
- 03/24: gnu: Add rust-mockito-0.23.,
guix-commits <=
- 11/24: gnu: Add rust-env-logger-0.8., guix-commits, 2021/01/05
- 12/24: gnu: Add rust-indicatif-0.15., guix-commits, 2021/01/05
- 16/24: gnu: Add rust-sharded-slab-0.1., guix-commits, 2021/01/05
- 17/24: gnu: rust-thread-local-1: Drop minor version from name., guix-commits, 2021/01/05
- 14/24: gnu: Add rust-test-case-1., guix-commits, 2021/01/05
- 22/24: gnu: rust-serde-derive-1: Update to 1.0.118., guix-commits, 2021/01/05
- 13/24: gnu: Add rust-insta-0.12., guix-commits, 2021/01/05
- 18/24: gnu: Add rust-tracing-subscriber-0.2., guix-commits, 2021/01/05
- 20/24: gnu: Add rust-async-native-tls-0.3., guix-commits, 2021/01/05
- 24/24: gnu: rust-threadpool-1: Drop minor version from name., guix-commits, 2021/01/05