gnu: Add erlang-ezlib.

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

Change-Id: I342ece260f9bd2d594343ab3afe91cfbced049fd
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Igor Goryachev via Guix-patches via 2024-08-05 13:44:49 +03:00 committed by Andrew Tropin
parent 3b4f480b9d
commit df79cd27f6
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0

View File

@ -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")