Subject: [bug#66842] [PATCH 28/39] gnu: Add rust-sqlite3-sys-0.14.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d349b3433..7e81e09120 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68383,28 +68383,44 @@ (define-public rust-sqlite3-src-0.3
        (sha256
         (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52"))))))
 
-(define-public rust-sqlite3-sys-0.13
+(define-public rust-sqlite3-sys-0.14
   (package
     (name "rust-sqlite3-sys")
-    (version "0.13.0")
+    (version "0.14.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "sqlite3-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4"))))
+        (base32 "1vmrzgchmbqk9jk1dq1jp1lq6id0p3h8vwna02x60ly59y19jz6l"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-libc" ,rust-libc-0.2)
-        ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))))
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-sqlite3-src" ,rust-sqlite3-src-0.4))
+       #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))
     (home-page "https://github.com/stainless-steel/sqlite3-sys")
     (synopsis "Bindings to SQLite")
     (description "The package provides bindings to SQLite.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-sqlite3-sys-0.13
+  (package
+    (inherit rust-sqlite3-sys-0.14)
+    (name "rust-sqlite3-sys")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sqlite3-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4"))))
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))
+       #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))))
+
 (define-public rust-st-map-0.1
   (package
     (name "rust-st-map")
-- 
2.34.1