Subject: [bug#68312] [PATCH 123/156] gnu: Add rust-sqlx-macros-0.7.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:40 +0100

* gnu/packages/crates-io.scm (rust-sqlx-macros-0.7): New variable.

Change-Id: I98b40ce8257dd320eb9e107b76920877b4b0cb50
---
 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 e323ca7515e..9f8c6067f58 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70584,6 +70584,32 @@ (define-public rust-sqlx-macros-core-0.7
      "Macro support core for SQLx, the Rust SQL toolkit.  Not intended to be used
 directly.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-sqlx-macros-0.7
+  (package
+    (name "rust-sqlx-macros")
+    (version "0.7.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlx-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19gjwisiym07q7ibkp9nkvvbywjh0r5rc572msvzyzadvh01r5l9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-sqlx-core" ,rust-sqlx-core-0.7)
+                       ("rust-sqlx-macros-core" ,rust-sqlx-macros-core-0.7)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/launchbadge/sqlx")
+    (synopsis
+     "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly.")
+    (description
+     "Macros for SQLx, the rust SQL toolkit.  Not intended to be used directly.")
+    (license (list license:expat license:asl2.0))))
 (define-public rust-sqlite-0.30
   (package
     (name "rust-sqlite")
-- 
2.41.0