ocamlPackages.jingoo: 1.2.18 → 1.3.4
This commit is contained in:
parent
2bf4a22e5a
commit
9d55751754
@ -1,26 +1,26 @@
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, pcre, uutf }:
|
||||
{ lib, buildDunePackage, fetchFromGitHub
|
||||
, menhir, ppx_deriving, re, uutf, uucp, ounit2 }:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||
then throw "jingoo is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
buildDunePackage rec {
|
||||
pname = "jingoo";
|
||||
version = "1.3.4";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-jingoo-${version}";
|
||||
version = "1.2.18";
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tategakibunko";
|
||||
repo = "jingoo";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gciiysrjy5r4yiisc41k4h0p530yawzqnr364xg8fdkk444fgkn";
|
||||
sha256 = "0fsmm6wxa3axwbcgwdidik3drg754wyh2vxri2w12d662221m98s";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [ pcre uutf ];
|
||||
buildInputs = [ menhir ];
|
||||
propagatedBuildInputs = [ ppx_deriving re uutf uucp ];
|
||||
checkInputs = [ ounit2 ];
|
||||
doCheck = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tategakibunko/jingoo";
|
||||
description = "OCaml template engine almost compatible with jinja2";
|
||||
license = licenses.mit;
|
||||
|
@ -393,9 +393,7 @@ let
|
||||
|
||||
irmin-watcher = callPackage ../development/ocaml-modules/irmin-watcher { };
|
||||
|
||||
jingoo = callPackage ../development/ocaml-modules/jingoo {
|
||||
pcre = ocaml_pcre;
|
||||
};
|
||||
jingoo = callPackage ../development/ocaml-modules/jingoo { };
|
||||
|
||||
js_of_ocaml =
|
||||
if lib.versionOlder "4.02" ocaml.version
|
||||
|
Loading…
Reference in New Issue
Block a user