at v192 23 lines 656 B view raw
1{stdenv, buildOcaml, fetchurl, batteries, pcre}: 2 3buildOcaml rec { 4 name = "jingoo"; 5 version = "1.2.7"; 6 7 src = fetchurl { 8 url = "https://github.com/tategakibunko/jingoo/archive/v${version}.tar.gz"; 9 sha256 = "8ffc5723d77b323a12761981d048c046af77db47543a4b1076573aa5f4003009"; 10 }; 11 12 propagatedBuildInputs = [ batteries pcre ]; 13 14 preInstall = "mkdir -p $out/bin"; 15 installFlags = "BINDIR=$(out)/bin"; 16 17 meta = with stdenv.lib; { 18 homepage = https://github.com/tategakibunko/jingoo; 19 description = "OCaml template engine almost compatible with jinja2"; 20 license = licenses.mit; 21 maintainers = [ maintainers.ericbmerritt ]; 22 }; 23}