diff mbox series

[bug#72474,12/30] gnu: Add erlang-mqtree.

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

Commit Message

Igor Goryachev Aug. 5, 2024, 10:44 a.m. UTC
* gnu/packages/erlang-xyz.scm (erlang-mqtree): New variable.

Change-Id: I9e7217185659ce8ea129645e399e11109c119fd4
---
 gnu/packages/erlang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 9ee1e903bd..b3e8d13ad7 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -157,6 +157,32 @@  (define-public erlang-eimp
     (home-page "https://hex.pm/packages/eimp")
     (license license:asl2.0)))
 
+(define-public erlang-mqtree
+  (package
+    (name "erlang-mqtree")
+    (version "1.0.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "mqtree" version))
+       (sha256
+        (base32 "18z23c1axn6y9799f0ydb0m29wxvq956b57bzk886ixwiz7vgs2z"))))
+    (build-system rebar-build-system)
+    (inputs (list erlang-p1-utils))
+    (native-inputs (list erlang-pc))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'set-environment
+            (lambda _
+              (setenv "HOME" "/tmp")
+              (setenv "CC" "gcc"))))))
+    (synopsis "Index tree for MQTT topic filters")
+    (description "This package provides index tree for MQTT topic filters.")
+    (home-page "https://hex.pm/packages/mqtree")
+    (license license:asl2.0)))
+
 (define-public erlang-unicode-util-compat
   (package
     (name "erlang-unicode-util-compat")