From df79cd27f65d4d19613ce938ea0fb6b85fd409ca Mon Sep 17 00:00:00 2001 From: Igor Goryachev via Guix-patches via Date: Mon, 5 Aug 2024 13:44:49 +0300 Subject: gnu: Add erlang-ezlib. * gnu/packages/erlang-xyz.scm (erlang-ezlib): New variable. Change-Id: I342ece260f9bd2d594343ab3afe91cfbced049fd Signed-off-by: Andrew Tropin --- gnu/packages/erlang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') 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 @@ implementation.") (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") -- cgit v1.2.3