From a6a1e4b9f40d3a9d0cce27c4d466e7e6e9697fc4 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sat, 23 May 2020 22:02:46 +0200 Subject: [PATCH] gnu: Add erlang-erlware-commons. * gnu/packages/erlang.scm (erlang-erlware-commons): New variable. --- gnu/packages/erlang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 @@ (define-public erlang-cf (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)))