Subject: [PATCH 198/228] gnu: Add rust-delegate-display-2.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:09:28 +0100

* gnu/packages/crates-io.scm (rust-delegate-display-2): Add variable.

Change-Id: I68de143a396e2a30e1b5a60a4c49db17516b5c44
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c97fcc8283..0478093ae4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18507,6 +18507,32 @@ (define-public rust-dejavu-2
      "This package provides the @code{DejaVu} font family for embedding.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-delegate-display-2
+  (package
+    (name "rust-delegate-display")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "delegate-display" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0rndsj11q9kl8q42blvvlhly3dfh6rp25xmv3742l51ky80m5a4q"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-macroific" ,rust-macroific-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs
+       (("rust-static-assertions" ,rust-static-assertions-1))))
+    (home-page "https://github.com/Alorel/delegate-display-rs")
+    (synopsis "derive(Display, Debug) for structs/enums with one member")
+    (description
+      "This package provides derive(Display, Debug) for structs/enums
+with one member.")
+    (license license:expat)))
+
 (define-public rust-demo-hack-0.0
   (package
     (name "rust-demo-hack")
-- 
2.41.0