ffc78d3539
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
31 lines
754 B
Nix
31 lines
754 B
Nix
{ lib, buildDunePackage, fetchFromGitHub
|
|
, menhir, ppx_deriving, re, uutf, uucp, ounit2 }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "jingoo";
|
|
version = "1.4.2";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.04";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tategakibunko";
|
|
repo = "jingoo";
|
|
rev = "v${version}";
|
|
sha256 = "0q947aik4i4z5wjllhwlkxh60qczwgra21yyrrzwhi9y5bnf8346";
|
|
};
|
|
|
|
buildInputs = [ menhir ];
|
|
propagatedBuildInputs = [ ppx_deriving re uutf uucp ];
|
|
checkInputs = [ ounit2 ];
|
|
doCheck = true;
|
|
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/tategakibunko/jingoo";
|
|
description = "OCaml template engine almost compatible with jinja2";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
};
|
|
}
|