[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61561] [PATCH 3/5] gnu: Add rust-mockall-double.
From: |
Steve George |
Subject: |
[bug#61561] [PATCH 3/5] gnu: Add rust-mockall-double. |
Date: |
Thu, 16 Feb 2023 23:01:01 +0000 |
* gnu/packages/crates-io.scm (rust-mockall-double-0.3): New variable.
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 180b0838a9..42137b6853 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33735,6 +33735,31 @@ (define-public rust-miow-0.2
#: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
+ `(#:skip-build? #f
+ #: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")
--
2.39.1