Subject: [PATCH v2 16/44] gnu: Add rust-extend-1.

From: Murilo <[email-masked]>
Date: Fri, 31 May 2024 09:38:06 -0300

* gnu/packages/crates-io.scm (rust-extend-1): New variable.

Change-Id: Ia93e05e3c94ce922e67cba372c6d81ced94595d2
---
 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 6e99369d5f..d6a6231843 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25253,6 +25253,30 @@ (define-public rust-expectest-0.12
 testing.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-extend-1
+  (package
+    (name "rust-extend")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "extend" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "003dnm6vdfx5ja0j6p7ifabgf9zdjyps0y1c7pvvyq4x3wpns6ii"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-syn" ,rust-syn-2)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1))))
+    (home-page "https://github.com/davidpdrsn/extend")
+    (synopsis "Create extensions for types you don't own")
+    (description
+     "Create extensions for types you don't own with extension traits but without the
+boilerplate.")
+    (license license:expat)))
+
 (define-public rust-expectrl-0.7
   (package
     (name "rust-expectrl")
-- 
2.41.0