diff options
author | Steve George <steve@futurile.net> | 2023-02-16 22:57:40 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-02-20 12:23:57 +0200 |
commit | 16041719bf25c544aa86edb43250a61b3c8fcb9a (patch) | |
tree | 30325dda6f0ed7e9b1aaac35fd140b08bcb6735d /gnu | |
parent | fd7c10681ab2eb3ce3466bc40cafd4013ab09abb (diff) |
gnu: Add rust-mockall-double-0.3.
* gnu/packages/crates-io.scm (rust-mockall-double-0.3): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1bb55a0a2d..0f1c0c7163 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33733,6 +33733,30 @@ IOCP and Async I/O abstractions.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-mockall-double-0.3 + (package + (name "rust-mockall-double") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "mockall-double" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xk6hjr7m73zly4hg3zmma437vqvrwnjxy2wfxy1hxbk52xwfwdf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Double test adapter that works well with Mockall") + (description + "This crate makes it even easier to use mocking by providing a way to +select the mock struct at compile time. Used with the Mockall crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-model-0.1 (package (name "rust-model") |