aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/erlang-xyz.scm
diff options
context:
space:
mode:
authorIgor Goryachev via Guix-patches via <guix-patches@gnu.org>2024-08-05 13:44:42 +0300
committerAndrew Tropin <andrew@trop.in>2024-08-05 17:14:53 +0400
commitef9a2ec16c011e66c12cc4bdcaf86c526a6fbec6 (patch)
tree20c375ed00561540c35727f3500872e782e23d1c /gnu/packages/erlang-xyz.scm
parent575d39f8ece8d1efa6522adfc26e46c961abee88 (diff)
downloadguix-ef9a2ec16c011e66c12cc4bdcaf86c526a6fbec6.tar
guix-ef9a2ec16c011e66c12cc4bdcaf86c526a6fbec6.tar.gz
gnu: Add erlang-stringprep.
* gnu/packages/erlang-xyz.scm (erlang-stringprep): New variable. Change-Id: I83ae7c53fc83eec756b208ed2d539a0976c72611 Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages/erlang-xyz.scm')
-rw-r--r--gnu/packages/erlang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
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")