aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorIgor Goryachev via Guix-patches via <guix-patches@gnu.org>2024-08-05 13:44:57 +0300
committerAndrew Tropin <andrew@trop.in>2024-08-05 17:32:18 +0400
commite706d86e295cba91f697f912852875541a0ddc3c (patch)
treefcf8adc21043dc67def96e934f97204a52e5b6e9 /gnu/packages
parent3c4cf39736a519e10c123a2d3d73927cb9e0219c (diff)
downloadguix-e706d86e295cba91f697f912852875541a0ddc3c.tar.gz
guix-e706d86e295cba91f697f912852875541a0ddc3c.zip
gnu: Add erlang-xmpp.
* gnu/packages/erlang-xyz.scm (erlang-xmpp): New variable. Change-Id: Ic107320aada66fd7d32fc6a3488e3daa39f03325 Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/erlang-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index f880612233..7f4149fddd 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -383,6 +383,38 @@ parsing library.")
(home-page "https://hex.pm/packages/fast_xml")
(license license:asl2.0)))
+(define-public erlang-xmpp
+ (package
+ (name "erlang-xmpp")
+ (version "1.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "xmpp" version))
+ (sha256
+ (base32 "04gpka0dp03jvgnin1g12ha4yzwy1h44rds3zzf1ia49k9ghcw7d"))))
+ (build-system rebar-build-system)
+ (inputs (list erlang-ezlib
+ erlang-fast-tls
+ erlang-fast-xml
+ erlang-idna
+ erlang-p1-utils
+ erlang-stringprep))
+ (native-inputs (list erlang-pc erlang-provider-asn1))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-environment
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "CC" "gcc"))))))
+ (synopsis "XMPP parsing and serialization library for Erlang/Elixir")
+ (description "This package provides XMPP parsing and serialization library
+for Erlang/Elixir.")
+ (home-page "https://hex.pm/packages/xmpp")
+ (license license:asl2.0)))
+
(define-public erlang-fast-yaml
(package
(name "erlang-fast-yaml")