Subject: [PATCH rust-team 06/77] gnu: Add rust-pq-src-0.3.

From: Andrew Wong <[email-masked]>
Date: Sun, 23 Feb 2025 15:20:57 -0500

* gnu/packages/crates-database.scm (rust-pq-src-0.3): New variable.

Change-Id: I45300c4eeca17b643b522a71f8570168fc7d44b3
---
 gnu/packages/crates-database.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-database.scm b/gnu/packages/crates-database.scm
index 0875ec7147..10d754a233 100644
--- a/gnu/packages/crates-database.scm
+++ b/gnu/packages/crates-database.scm
@@ -707,6 +707,27 @@ (define-public rust-postgres-types-0.2
 and Postgres values.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pq-src-0.3
+  (package
+    (name "rust-pq-src")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pq-src" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lxbx7q8hs98ibphzkcgdmjl13r7li38jdi4na30ilygagah2v57"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-openssl-sys" ,rust-openssl-sys-0.9))))
+    (home-page "https://github.com/sgrif/pq-sys")
+    (synopsis "Bundled version of libpq")
+    (description "This package provides Bundled version of libpq.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-pq-sys-0.4
   (package
     (name "rust-pq-sys")
-- 
2.48.1