[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#42180] [PATCH 08/22] gnu: Add erlang-bbmustache.
From: |
Hartmut Goebel |
Subject: |
[bug#42180] [PATCH 08/22] gnu: Add erlang-bbmustache. |
Date: |
Fri, 3 Jul 2020 19:43:33 +0200 |
* gnu/packages/erlang.scm (erlang-bbmustache): New variable.
---
gnu/packages/erlang.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index f874e605b9..fbc2025efe 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -235,6 +235,41 @@ built-in support for concurrency, distribution and fault
tolerance.")
files.")
(license license:asl2.0)))
+(define-public erlang-bbmustache
+ (package
+ (name "erlang-bbmustache")
+ (version "1.10.0")
+ (source
+ (origin
+ (method hexpm-fetch)
+ (uri (hexpm-uri "bbmustache" version))
+ (sha256
+ (base32 "0dpvi5qyx5kavi88p15501q939yf4dz3xqyc7mpi255rgmhsfnqx"))))
+ (build-system rebar3-build-system)
+ (inputs
+ `(("erlang-edown" ,erlang-edown)
+ ("erlang-getopt" ,erlang-getopt)
+ ("erlang-rebar3-git-vsn" ,erlang-rebar3-git-vsn)))
+ (arguments
+ `(#:tests? #f ;; requires mustache specification file
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'build 'build-escript
+ (lambda _
+ (invoke "rebar3" "as" "dev" "escriptize")
+ #t))
+ (add-after 'install 'install-escript
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (install-file "_build/dev/bin/bbmustache"
+ (string-append out "/bin")))
+ #t)))))
+ (home-page "https://github.com/soranoba/bbmustache/")
+ (synopsis "Binary pattern match Based Mustache template engine for Erlang")
+ (description "This Erlang library provides a Binary pattern match Based
+Mustache template engine")
+ (license license:expat)))
+
(define-public erlang-certifi
(package
(name "erlang-certifi")
--
2.21.3
- [bug#42180] [PATCH 00/22] Add extracting download, importer for hex.pm and rebar3 build-system for Erlang, Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 01/22] guix: Add extracting-download., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 04/22] gnu: Add erlang-cf., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 02/22] guix: Add importer for hex.pm., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 05/22] gnu: Add erlang-certifi., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 06/22] gnu: Add erlang-erlware-commons., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 07/22] gnu: Add erlang-cth-readable., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 08/22] gnu: Add erlang-bbmustache.,
Hartmut Goebel <=
- [bug#42180] [PATCH 10/22] gnu: Add erlang-eunit-formatters., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 12/22] gnu: Add erlang-parse-trans., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 13/22] gnu: Add erlang-hex-core., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 09/22] gnu: Add erlang-getopt., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 03/22] guix: Add rebar3 build-system., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 11/22] gnu: Add erlang-providers., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 14/22] gnu: Add erlang-ssl-verify-fun., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 15/22] gnu: Add erlang-relx., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 16/22] gnu: Add rebar3., Hartmut Goebel, 2020/07/03
- [bug#42180] [PATCH 17/22] gnu: Add erlang-edown., Hartmut Goebel, 2020/07/03