abcdw pushed a commit to branch master
in repository guix.
commit ef9a2ec16c011e66c12cc4bdcaf86c526a6fbec6
Author: Igor Goryachev via Guix-patches via <[email protected]>
AuthorDate: Mon Aug 5 13:44:42 2024 +0300
gnu: Add erlang-stringprep.
* gnu/packages/erlang-xyz.scm (erlang-stringprep): New variable.
Change-Id: I83ae7c53fc83eec756b208ed2d539a0976c72611
Signed-off-by: Andrew Tropin <[email protected]>
---
gnu/packages/erlang-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index cb306d30b8..de70852399 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -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")