From 0311564fdfd90e0c6d2a820897a544262d9de70a Mon Sep 17 00:00:00 2001 From: nixo Date: Fri, 11 Oct 2019 15:12:45 +0200 Subject: [PATCH] gnu: Add julia-mustache. * gnu/packages/julia-xyz.scm (julia-mustache-0.5.13): New variable. --- gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index a806d6c0f8..b155f36612 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1118,3 +1118,25 @@ Mux allows you to define servers in terms of highly modular and composable components called middleware, with the aim of making both simple and complex servers as simple as possible to throw together.") (license license:expat))) + +(define-public julia-mustache + (package + (name "julia-mustache") + (version "0.5.13") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jverzani/Mustache.jl") + (commit (string-append "v" version)))) + (file-name "Mustache") + (sha256 + (base32 "02dnn8vjr9byzgs0x637053p6dkywq2jc3k5aanvrqs1pkhcrqyd")))) + (propagated-inputs `(("julia-tables" ,julia-tables))) + (build-system julia-build-system) + (home-page "https://github.com/jverzani/Mustache.jl") + (synopsis "Port of Mustache.js to Julia") + (description "Logic-less template syntax. It can be used for HTML, +config files, source code - anything. It works by expanding tags in a +template using values provided in a hash or object.") + (license license:expat)))