gnu: Add erlang-parse-trans.

* gnu/packages/erlang.scm (erlang-parse-trans): New variable.
This commit is contained in:
Hartmut Goebel 2020-05-23 22:42:01 +02:00
parent 0e6f4572c1
commit 8680f3fbb7
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -360,6 +360,29 @@ (define-public erlang-getopt
arguments using the GNU getopt syntax.")
(license license:bsd-3)))
(define-public erlang-parse-trans
(package
(name "erlang-parse-trans")
(version "3.4.1")
(source
(origin
(method url-fetch)
(uri (hexpm-uri "parse_trans" version))
(sha256
(base32 "16p4c2xjrvz16kzpr9pmcvi6nxq6rwckqi9fp0ksibaxwxn402k2"))))
(build-system rebar-build-system)
(inputs
(list erlang-getopt))
(home-page "https://github.com/uwiger/parse_trans")
(synopsis "Parse transform utilities for Erlang")
(description "This package captures some useful patterns in parse
transformation and code generation for Erlang.
For example generating standardized accessor functions for records or
evaluating an expression at compile-time and substitute the result as a
compile-time constant.")
(license license:asl2.0)))
(define-public erlang-providers
(package
(name "erlang-providers")