diff mbox series

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

Message ID 7706e0db8f2e4b714820a8c92b9d7610c6469e6a.1722851684.git.igor@goryachev.org
State New
Headers show
Series Add ejabberd package. | expand

Commit Message

Igor Goryachev Aug. 5, 2024, 10:45 a.m. UTC
* 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 mbox series

Patch

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")