Subject: [bug#76513] [PATCH rust-team v2 04/77] gnu: Add rust-dsl-auto-type-0.1.

From: Andrew Wong <[email-masked]>
Date: Wed, 26 Feb 2025 19:50:14 -0500

* gnu/packages/crates-database.scm (rust-dsl-auto-type-0.1): New variable.

Change-Id: I343e9cbfc0a442dbf5d224a909dbb4648d20fb4e
---
 gnu/packages/crates-database.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-database.scm b/gnu/packages/crates-database.scm
index a3b353e95b..3d8ea15acb 100644
--- a/gnu/packages/crates-database.scm
+++ b/gnu/packages/crates-database.scm
@@ -295,6 +295,33 @@ (define-public rust-diesel-table-macro-syntax-0.1
     (description "Internal diesel crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-dsl-auto-type-0.1
+  (package
+    (name "rust-dsl-auto-type")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dsl_auto_type" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0nzzqmqyymlnffhms1kism5xhgsk73mq6r6pdpr8azsjlynfk6hk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-darling" ,rust-darling-0.20)
+                       ("rust-either" ,rust-either-1)
+                       ("rust-heck" ,rust-heck-0.5)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://diesel.rs")
+    (synopsis
+     "Automatically expand query fragment types for factoring as functions")
+    (description
+     "This package provides Automatically expand query fragment types for factoring as functions.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-liblmdb-sys-0.2
   (package
     (name "rust-liblmdb-sys")
-- 
2.48.1