guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72474] [PATCH 09/30] gnu: Add erlang-stringprep.


From: Igor Goryachev
Subject: [bug#72474] [PATCH 09/30] gnu: Add erlang-stringprep.
Date: Mon, 5 Aug 2024 13:44:42 +0300

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

Change-Id: I83ae7c53fc83eec756b208ed2d539a0976c72611
---
 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 @@ (define-public erlang-p1-utils
     (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")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]