aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-23 22:42:01 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2022-06-15 10:18:46 +0200
commit8680f3fbb7fa26ebab9bd6287ee5d915c6890753 (patch)
tree01adac80604b5118db799e409b09f7c5195d7283 /gnu
parent0e6f4572c181900f463f82253eef4715e71ded20 (diff)
downloadguix-8680f3fbb7fa26ebab9bd6287ee5d915c6890753.tar.gz
guix-8680f3fbb7fa26ebab9bd6287ee5d915c6890753.zip
gnu: Add erlang-parse-trans.
* gnu/packages/erlang.scm (erlang-parse-trans): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/erlang.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index efd309dc14..596de6d608 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -360,6 +360,29 @@ of reusable Erlang components.")
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")