2020-05-15 21:57:56 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
|
|
|
, menhir, ppx_deriving, re, uutf, uucp, ounit2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "jingoo";
|
|
|
|
version = "1.3.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
minimumOCamlVersion = "4.04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tategakibunko";
|
|
|
|
repo = "jingoo";
|
|
|
|
rev = "v${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "0fsmm6wxa3axwbcgwdidik3drg754wyh2vxri2w12d662221m98s";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
buildInputs = [ menhir ];
|
|
|
|
propagatedBuildInputs = [ ppx_deriving re uutf uucp ];
|
|
|
|
checkInputs = [ ounit2 ];
|
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/tategakibunko/jingoo";
|
|
|
|
description = "OCaml template engine almost compatible with jinja2";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|