summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-23 22:02:46 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2022-06-15 10:18:43 +0200
commita6a1e4b9f40d3a9d0cce27c4d466e7e6e9697fc4 (patch)
tree952b8cd37de3a7936db3f2ba450cbc766f81d98f /gnu
parentb5c81fb2892110a93f12ca9011aad9405485acad (diff)
downloadguix-a6a1e4b9f40d3a9d0cce27c4d466e7e6e9697fc4.tar.gz
gnu: Add erlang-erlware-commons.
* gnu/packages/erlang.scm (erlang-erlware-commons): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/erlang.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index e467a0aa75..8ee5b98c82 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -246,3 +246,30 @@ Mozilla's canonical set.")
     (description "This package provides a helper library for termial colour
 printing extending the io:format syntax to add colours.")
     (license license:expat)))
+
+(define-public erlang-erlware-commons
+  (package
+    (name "erlang-erlware-commons")
+    (version "1.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "erlware_commons" version))
+       (sha256
+        (base32 "18qam9xdzi74wppb0cj4zc8161i0i8djr79z8662m6d276f2jz5m"))))
+    (build-system rebar-build-system)
+    (propagated-inputs
+     (list erlang-cf))
+    (native-inputs
+     (list git-minimal/fixed))  ;; Required for tests
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "TERM" "xterm")))))) ; enable color in logs
+    (home-page "http://erlware.github.io/erlware_commons/")
+    (synopsis "Additional standard library for Erlang")
+    (description "Erlware Commons is an Erlware project focused on all aspects
+of reusable Erlang components.")
+    (license license:expat)))