[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/23: gnu: Add erlang-bbmustache.
From: |
guix-commits |
Subject: |
08/23: gnu: Add erlang-bbmustache. |
Date: |
Wed, 15 Jun 2022 05:05:33 -0400 (EDT) |
htgoebel pushed a commit to branch master
in repository guix.
commit d146de283b8bb466136ca212a97138650f35fd77
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sat May 23 22:57:13 2020 +0200
gnu: Add erlang-bbmustache.
* gnu/packages/erlang.scm (erlang-bbmustache): New variable.
---
gnu/packages/erlang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index 7abfc76cc9..e9c026be5a 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -206,6 +206,38 @@ built-in support for concurrency, distribution and fault
tolerance.")
files.")
(license license:asl2.0)))
+(define-public erlang-bbmustache
+ (package
+ (name "erlang-bbmustache")
+ (version "1.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "bbmustache" version))
+ (sha256
+ (base32 "0fvvaxdpziygxl30j59g98qkh2n47xlb7w5dfpsm2bfcsnj372v8"))))
+ (build-system rebar-build-system)
+ (inputs
+ (list erlang-getopt rebar3-git-vsn
+ erlang-edown)) ; for building the docs
+ (arguments
+ `(#:tests? #f ;; requires mustache specification file
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'build-more
+ (lambda _
+ (invoke "rebar3" "as" "dev" "escriptize")))
+ (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"))))))))
+ (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")
- 11/23: gnu: Add erlang-providers., (continued)
- 11/23: gnu: Add erlang-providers., guix-commits, 2022/06/15
- 02/23: build-system: Add 'rebar-build-system'., guix-commits, 2022/06/15
- 01/23: Revert "Add (guix extracting-download).", guix-commits, 2022/06/15
- 05/23: gnu: Add erlang-certifi., guix-commits, 2022/06/15
- 06/23: gnu: Add erlang-erlware-commons., guix-commits, 2022/06/15
- 09/23: gnu: Add erlang-getopt., guix-commits, 2022/06/15
- 18/23: gnu: Add erlang-proper., guix-commits, 2022/06/15
- 14/23: gnu: Add erlang-ssl-verify-fun., guix-commits, 2022/06/15
- 19/23: gnu: Add erlang-covertool., guix-commits, 2022/06/15
- 21/23: gnu: Add rebar3-raw-deps., guix-commits, 2022/06/15
- 08/23: gnu: Add erlang-bbmustache.,
guix-commits <=
- 10/23: gnu: Add erlang-eunit-formatters., guix-commits, 2022/06/15
- 12/23: gnu: Add erlang-parse-trans., guix-commits, 2022/06/15
- 16/23: gnu: Add erlang-edown., guix-commits, 2022/06/15