3
0
Fork 0
forked from mirrors/nixpkgs

ocaml-jingoo: add initial version (1.2.7) to the system

This commit is contained in:
Eric Merritt 2015-05-15 10:55:37 -05:00
parent c7ba42a516
commit 96775f0402
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{stdenv, buildOcaml, fetchurl, batteries, pcre}:
buildOcaml rec {
name = "jingoo";
version = "1.2.7";
src = fetchurl {
url = "https://github.com/tategakibunko/jingoo/archive/v${version}.tar.gz";
sha256 = "8ffc5723d77b323a12761981d048c046af77db47543a4b1076573aa5f4003009";
};
propagatedBuildInputs = [ batteries pcre ];
preInstall = "mkdir -p $out/bin";
installFlags = "BINDIR=$(out)/bin";
meta = with stdenv.lib; {
homepage = https://github.com/tategakibunko/jingoo;
description = "OCaml template engine almost compatible with jinja2";
license = licenses.mit;
maintainers = [ maintainers.ericbmerritt ];
};
}

View file

@ -4202,6 +4202,11 @@ let
hex = callPackage ../development/ocaml-modules/hex { };
jingoo = callPackage ../development/ocaml-modules/jingoo {
batteries = ocaml_batteries;
pcre = ocaml_pcre;
};
js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { };
jsonm = callPackage ../development/ocaml-modules/jsonm { };