guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72474] [PATCH 16/30] gnu: Add erlang-ezlib.


From: Igor Goryachev
Subject: [bug#72474] [PATCH 16/30] gnu: Add erlang-ezlib.
Date: Mon, 5 Aug 2024 13:44:49 +0300

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

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

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 488c7a766c..58b503b49c 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -242,6 +242,32 @@ (define-public erlang-mqtree
     (home-page "https://hex.pm/packages/mqtree";)
     (license license:asl2.0)))
 
+(define-public erlang-ezlib
+  (package
+    (name "erlang-ezlib")
+    (version "1.0.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "ezlib" version))
+       (sha256
+        (base32 "1fxz584ry1ib35r74hbmapwq71j5iv5rymm927ys0mgdz2rjmrly"))))
+    (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 "Native zlib driver for Erlang/Elixir")
+    (description "This package provides native zlib driver for Erlang/Elixir.")
+    (home-page "https://hex.pm/packages/ezlib";)
+    (license license:asl2.0)))
+
 (define-public erlang-unicode-util-compat
   (package
     (name "erlang-unicode-util-compat")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]