[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: |
Thu, 7 Oct 2021 16:53:13 -0400 (EDT) |
htgoebel pushed a commit to branch master
in repository guix.
commit f9bd633798bd572f60d52211d27a601cd0874f2b
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 | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index bbd6351..f230bb0 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -225,6 +225,40 @@ 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.1")
+ (source
+ (origin
+ (method hexpm-fetch)
+ (uri (hexpm-uri "bbmustache" version))
+ (sha256
+ (base32 "0wbfayx6940zf57bpwg1m9sk3cpgam2q8n0w74alkrc4gc7hn47w"))))
+ (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")))
+ (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")
- branch master updated (34baab7 -> f86f7e2), guix-commits, 2021/10/07
- 01/23: Add (guix extracting-download)., guix-commits, 2021/10/07
- 02/23: import: Add hex.pm importer., guix-commits, 2021/10/07
- 03/23: build-system: Add 'rebar3-build-system'., guix-commits, 2021/10/07
- 04/23: gnu: Add erlang-cf., guix-commits, 2021/10/07
- 05/23: gnu: Add erlang-certifi., guix-commits, 2021/10/07
- 06/23: gnu: Add erlang-erlware-commons., guix-commits, 2021/10/07
- 07/23: gnu: Add erlang-cth-readable., guix-commits, 2021/10/07
- 08/23: gnu: Add erlang-bbmustache.,
guix-commits <=
- 09/23: gnu: Add erlang-getopt., guix-commits, 2021/10/07
- 10/23: gnu: Add erlang-eunit-formatters., guix-commits, 2021/10/07
- 13/23: gnu: Add erlang-hex-core., guix-commits, 2021/10/07
- 11/23: gnu: Add erlang-providers., guix-commits, 2021/10/07
- 12/23: gnu: Add erlang-parse-trans., guix-commits, 2021/10/07
- 14/23: gnu: Add erlang-ssl-verify-fun., guix-commits, 2021/10/07
- 15/23: gnu: Add erlang-relx., guix-commits, 2021/10/07
- 16/23: gnu: Add rebar3., guix-commits, 2021/10/07
- 17/23: gnu: Add erlang-edown., guix-commits, 2021/10/07
- 18/23: gnu: Add erlang-jsone., guix-commits, 2021/10/07