nixpkgs-suyu/pkgs/development/ocaml-modules/jingoo/default.nix
Vincent Laporte 8f1302995e
ocamlPackages.ppx_deriving: 4.5 → 5.1
ocamlPackages.ppx_deriving_yojson: 3.5.2 → 3.6.1

ocamlPackages.visitors: 20200210 → 20210127

ocamlPackages.pgocaml: disable for OCaml < 4.08

ocamlPackages.nocrypto: disable for OCaml < 4.08

ocamlPackages.lens: mark as broken

ocamlPackages.ppx_deriving_protobuf: mark as broken

Closes #108137
2021-01-31 14:15:46 +01:00

31 lines
769 B
Nix

{ lib, buildDunePackage, fetchFromGitHub
, menhir, ppxlib, 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 = [ ppxlib 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 ];
};
}