Subject: [PATCH 14/30] gnu: Add erlang-p1-oauth2.

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

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

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

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 81dfe1c5de..c50d7cc2da 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -89,6 +89,22 @@ (define-public erlang-jiffy
     (home-page "https://hex.pm/packages/jiffy")
     (license license:expat)))
 
+(define-public erlang-p1-oauth2
+  (package
+    (name "erlang-p1-oauth2")
+    (version "0.6.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "p1_oauth2" version))
+       (sha256
+        (base32 "13xfk4flaqb3nsxirf3vmy3yv67n6s6xzil7bafjswj39r3srlqz"))))
+    (build-system rebar-build-system)
+    (synopsis "OAuth 2.0 implementation for Erlang")
+    (description "This package provides OAuth 2.0 implementation for Erlang.")
+    (home-page "https://hex.pm/packages/p1_oauth2")
+    (license (list license:expat license:asl2.0))))
+
 (define-public erlang-p1-utils
   (package
     (name "erlang-p1-utils")
-- 
2.45.2