Subject: [PATCH 27/39] gnu: Add rust-sqlite3-src-0.4.

From: Jaeme Sifat <[email-masked]>
Date: Mon, 30 Oct 2023 22:52:31 -0400

* gnu/packages/crates-io.scm (rust-sqlite3-src-0.4): New variable.

Change-Id: I0de844ab13539a2d0072e7a1428d512cfa1936a5
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e00341ee53..5d349b3433 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68350,27 +68350,39 @@ (define-public rust-sqlite-0.26
     (description "The package provides an interface to SQLite.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-sqlite3-src-0.3
+(define-public rust-sqlite3-src-0.4
   (package
     (name "rust-sqlite3-src")
-    (version "0.3.0")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "sqlite3-src" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52"))))
+        (base32 "14ancc9jafw5ql9carg27icjxcfrdz5izxk4bj7fp5n909x5m0fi"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-cc" ,rust-cc-1)
-        ("rust-pkg-config" ,rust-pkg-config-0.3))))
+     `(#:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3))))
     (home-page "https://github.com/stainless-steel/sqlite3-src")
     (synopsis "Provider of SQLite")
     (description "The package provides SQLite.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-sqlite3-src-0.3
+  (package
+    (inherit rust-sqlite3-src-0.4)
+    (name "rust-sqlite3-src")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlite3-src" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52"))))))
+
 (define-public rust-sqlite3-sys-0.13
   (package
     (name "rust-sqlite3-sys")
-- 
2.34.1