7 stdenv.mkDerivation rec {
8 pname = "mustache-spec";
11 src = fetchFromGitHub {
15 sha256 = "03xrfyjzm5ss6zkdlpl9ypwzcglspcdcnr3f94vj1rjfqm2rxcjw";
22 mkdir -p $out/{man/man5,doc/html}
23 cp man/mustache.5 $out/man/man5
24 cp man/mustache.5.html $out/doc/html
28 description = "Logic-less templates, specification package";
30 Inspired by ctemplate and et, Mustache is a framework-agnostic way to
31 render logic-free views.
33 Provides the specification as man page and html docs.
35 As ctemplates says, "It emphasizes separating logic from presentation: it
36 is impossible to embed application logic in this template language."
38 For a list of implementations and tips, see ${homepage}.
41 homepage = "http://mustache.github.io/";
42 license = lib.licenses.mit;
43 maintainers = with lib.maintainers; [ Profpatsch ];
44 platforms = lib.platforms.all;