Subject: [bug#72474] [PATCH 27/30] gnu: Add erlang-p1-pgsql.

From: Igor Goryachev <[email-masked]>
Date: Mon, 5 Aug 2024 13:45:00 +0300

* gnu/packages/erlang-xyz.scm (erlang-p1-pgsql): New variable.

Change-Id: I7b206a78796462f70574e9f7c9e31a134ca5f56f
---
 gnu/packages/erlang-xyz.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index fc09a6747e..be678794b4 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -183,6 +183,23 @@ (define-public erlang-p1-mysql
     (home-page "https://hex.pm/packages/p1_mysql")
     (license license:asl2.0)))
 
+(define-public erlang-p1-pgsql
+  (package
+    (name "erlang-p1-pgsql")
+    (version "1.1.27")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "p1_pgsql" version))
+       (sha256
+        (base32 "1fgzchikv31gbyid3qqy9wzwmap1nalwb7fqal77hs6b09v1lkcf"))))
+    (build-system rebar-build-system)
+    (inputs (list erlang-xmpp))
+    (synopsis "PostgreSQL driver for Erlang")
+    (description "This package provides @code{PostgreSQL} driver for Erlang.")
+    (home-page "https://hex.pm/packages/p1_pgsql")
+    (license license:asl2.0)))
+
 (define-public erlang-stringprep
   (package
     (name "erlang-stringprep")
-- 
2.45.2