Subject: [PATCH] gnu: Add rust-derive-where-1.

From: Aleksandr Vityazev <[email-masked]>
Date: Sat, 07 Oct 2023 03:01:27 +0300

* gnu/packages/crates-io.scm (rust-derive-where-1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80fb92ec82..29a2bc48ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19620,6 +19620,30 @@ (define-public rust-derive-new-0.5
 structs and enums.")
   (license license:expat)))
 
+(define-public rust-derive-where-1
+  (package
+    (name "rust-derive-where")
+    (version "1.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "derive-where" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1jqck0b2vsyh85p6v5jlhcrmgphdvxzg2256919g782247b9hqql"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/ModProg/derive-where")
+    (synopsis "Deriving with custom trait bounds")
+    (description "Deriving with custom trait bounds")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-des-0.8
   (package
     (name "rust-des")

base-commit: a7e6b4c98b97921ab695218f9b89be4f1ded48c9
prerequisite-patch-id: ec4a09723b91089c8eb5b5269ae81272bb4d81b4
prerequisite-patch-id: 9680399593e3dcdb5b10ee646023efd1215942d9
prerequisite-patch-id: 66497a0079d0077e7b5001707d8211c525ea7193
prerequisite-patch-id: 4f512542ae5806d47054e063e3dd1df66258c530
prerequisite-patch-id: 48abb1e84ca8d85b23794222f8fa5b4d2dfa4699
-- 
2.41.0

-- 

Aleksandr Vityazev