GNU bug report logs - #61561
Add rust-mockall and friends

Previous Next

Package: guix-patches;

Reported by: Steve George <steve <at> futurile.net>

Date: Thu, 16 Feb 2023 22:52:02 UTC

Severity: normal

Tags: patch

Merged with 61562, 61563, 61564, 61565

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#61563: closed ([PATCH 2/5] gnu: add rust-downcast.)
Date: Mon, 20 Feb 2023 12:03:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 20 Feb 2023 14:02:21 +0200
with message-id <Y/NhTX3sRVXJ7Vjg <at> 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 2/5] gnu: add rust-downcast.
to be marked as done.

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


-- 
61561: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61561
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Steve George <steve <at> futurile.net>
To: Guix patches list <guix-patches <at> gnu.org>
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 2/5] gnu: add rust-downcast.
Date: Thu, 16 Feb 2023 22:57:39 +0000
* gnu/packages/crates-io.scm (rust-downcast-0.11): New variable.
---

 gnu/packages/crates-io.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 355c8ef761..180b0838a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17761,6 +17761,28 @@ (define-public rust-document-features-0.2
 @code{Cargo.toml}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-downcast-0.11
+  (package
+    (name "rust-downcast")
+    (version "0.11.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "downcast" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1wa78ahlc57wmqyq2ncr80l7plrkgz57xsg7kfzgpcnqac8gld8l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `( #:skip-build? #f))
+    (home-page "https://github.com/fkoep/downcast-rs")
+    (synopsis
+     "Trait for downcasting trait objects back to their original types")
+    (description
+     "A trait, and utilities, for downcasting trait objects back
+to their original types.  The same as the rust-downcast-rs crate.")
+    (license license:expat)))
+
 (define-public rust-downcast-rs-1
   (package
     (name "rust-downcast-rs")
@@ -42372,7 +42394,7 @@ (define-public rust-pretty-assertions-0.5
                        ("rust-difference" ,rust-difference-2))))))
 
 (define-public rust-pretty-assertions-0.4
-  (package
+ (package
     (inherit rust-pretty-assertions-0.6)
     (name "rust-pretty-assertions")
     (version "0.4.1")
-- 
2.39.1



[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Steve George <steve <at> futurile.net>
Cc: 61561-done <at> debbugs.gnu.org, 61563-done <at> debbugs.gnu.org,
 61565-done <at> debbugs.gnu.org, 61562-done <at> debbugs.gnu.org,
 61564-done <at> debbugs.gnu.org
Subject: Re: [PATCH 1/5] gnu: Add rust-pretty-assertions-0.5.
Date: Mon, 20 Feb 2023 14:02:21 +0200
[Message part 4 (text/plain, inline)]
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 <at> 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.