emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61564: closed ([PATCH 3/5] gnu: Add rust-mockall-double.)


From: GNU bug Tracking System
Subject: bug#61564: closed ([PATCH 3/5] gnu: Add rust-mockall-double.)
Date: Mon, 20 Feb 2023 12:03:03 +0000

Your message dated Mon, 20 Feb 2023 14:02:21 +0200
with message-id <Y/NhTX3sRVXJ7Vjg@3900XT>
and subject line Re: [PATCH 1/5] gnu: Add rust-pretty-assertions-0.5.
has caused the debbugs.gnu.org bug report #61561,
regarding [PATCH 3/5] gnu: Add rust-mockall-double.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61561: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61561
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 3/5] gnu: Add rust-mockall-double. Date: Thu, 16 Feb 2023 22:57:40 +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




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH 1/5] gnu: Add rust-pretty-assertions-0.5. Date: Mon, 20 Feb 2023 14:02:21 +0200
Thanks for the patches. I dropped the rust-pretty-assertions-0.5 one
since the others didn't seem to depend on it and I enabled building on
them where possible.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]