2020-05-13 21:04:09 +01:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub
|
|
|
|
, menhir, ppx_deriving, re, uutf, uucp, ounit2 }:
|
2015-05-15 16:55:37 +01:00
|
|
|
|
2020-05-13 21:04:09 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "jingoo";
|
2020-10-04 17:02:41 +01:00
|
|
|
version = "1.4.1";
|
2015-05-15 16:55:37 +01:00
|
|
|
|
2020-05-13 21:04:09 +01:00
|
|
|
minimumOCamlVersion = "4.04";
|
2018-07-29 20:18:09 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tategakibunko";
|
|
|
|
repo = "jingoo";
|
|
|
|
rev = "v${version}";
|
2020-10-04 17:02:41 +01:00
|
|
|
sha256 = "16wzggwi3ri13v93mjk8w7zxwp65qmi1rnng2kpk9vffx5g1kv6f";
|
2015-05-15 16:55:37 +01:00
|
|
|
};
|
|
|
|
|
2020-05-13 21:04:09 +01:00
|
|
|
buildInputs = [ menhir ];
|
|
|
|
propagatedBuildInputs = [ ppx_deriving re uutf uucp ];
|
|
|
|
checkInputs = [ ounit2 ];
|
|
|
|
doCheck = true;
|
2015-05-15 16:55:37 +01:00
|
|
|
|
|
|
|
|
2020-05-13 21:04:09 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/tategakibunko/jingoo";
|
2015-05-15 16:55:37 +01:00
|
|
|
description = "OCaml template engine almost compatible with jinja2";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|