Subject: bug#61563: closed (Re: [PATCH 1/5] gnu: Add rust-pretty-assertions-0.5.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 20 Feb 2023 12:03:02 +0000

Your bug report

#61561: [PATCH 2/5] gnu: add rust-downcast.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61561: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61561
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH 1/5] gnu: Add rust-pretty-assertions-0.5.
From: Efraim Flashner <[email-masked]>
To: Steve George <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked], [email-masked], [email-masked]
Date: Mon, 20 Feb 2023 14:02:21 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH 2/5] gnu: add rust-downcast.
From: Steve George <[email-masked]>
To: Guix patches list <[email-masked]>
Cc: Efraim Flashner <[email-masked]>, Steve George <[email-masked]>
Date: Thu, 16 Feb 2023 22:57:39 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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