Subject: [bug#68312] [PATCH 127/156] gnu: Add rust-sql-builder-3.

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

* gnu/packages/crates-io.scm (rust-sql-builder-3): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c5e02476d6b..0303119df86 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70774,6 +70774,28 @@ (define-public rust-sqlx-sqlite-0.7
      "SQLite driver implementation for SQLx.  Not for direct use; see the `sqlx` crate
 for details.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-sql-builder-3
+  (package
+    (name "rust-sql-builder")
+    (version "3.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sql-builder" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1h5xp47zz9chv545lpmal51fq3z162z2f99mb4lhcbgcsaaqs05i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/perdumonocle/sql-builder.git")
+    (synopsis "Simple SQL code generator.")
+    (description "Simple SQL code generator.")
+    (license license:expat)))
+
 (define-public rust-sqlite-0.30
   (package
     (name "rust-sqlite")
-- 
2.41.0