44 lines
801 B
Nix
44 lines
801 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
menhir,
|
|
ppxlib,
|
|
ppx_deriving,
|
|
re,
|
|
uutf,
|
|
uucp,
|
|
ounit2,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "jingoo";
|
|
version = "1.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tategakibunko";
|
|
repo = "jingoo";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-1357XOYZseItCrIm/qNP46aL8tQyX8CFh77CBycL1ew=";
|
|
};
|
|
|
|
nativeBuildInputs = [ menhir ];
|
|
propagatedBuildInputs = [
|
|
ppxlib
|
|
ppx_deriving
|
|
re
|
|
uutf
|
|
uucp
|
|
];
|
|
checkInputs = [ ounit2 ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/tategakibunko/jingoo";
|
|
description = "OCaml template engine almost compatible with jinja2";
|
|
mainProgram = "jingoo";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ericbmerritt ];
|
|
};
|
|
})
|