gnu: Add erlang-stringprep.

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

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

View File

@ -78,6 +78,33 @@ Erlang and Elixir.")
(home-page "https://hex.pm/packages/p1_utils")
(license license:asl2.0)))
(define-public erlang-stringprep
(package
(name "erlang-stringprep")
(version "1.0.30")
(source
(origin
(method url-fetch)
(uri (hexpm-uri "stringprep" version))
(sha256
(base32 "16hb49f9ghx8sqrs7928fjig9wyah22z7cl91y1pff50hhrrpz7n"))))
(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 "Fast Stringprep Erlang/Elixir implementation")
(description "This package provides fast Stringprep Erlang/Elixir
implementation.")
(home-page "https://hex.pm/packages/stringprep")
(license license:asl2.0)))
(define-public erlang-unicode-util-compat
(package
(name "erlang-unicode-util-compat")