Subject: [bug#68312] [PATCH 119/156] gnu: Add rust-sqlformat-0.2.

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

* gnu/packages/crates-io.scm (rust-sqlformat-0.2): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad44443f7d1..849b031669c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70419,6 +70419,29 @@ (define-public rust-sptr-0.3
     (description "This package provides sptr, The Strict Provenance Polyfill.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-sqlformat-0.2
+  (package
+    (name "rust-sqlformat")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlformat" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0v0p70wjdshj18zgjjac9xlx8hmpx33xhq7g8x9rg4s4gjyvg0ff"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-itertools" ,rust-itertools-0.12)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-unicode-categories" ,rust-unicode-categories-0.1))))
+    (home-page "https://github.com/shssoichiro/sqlformat-rs")
+    (synopsis "Formats whitespace in a SQL string to make it easier to read")
+    (description
+     "Formats whitespace in a SQL string to make it easier to read")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-sqlite-0.30
   (package
     (name "rust-sqlite")
-- 
2.41.0