1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/pkgs/development/ocaml-modules/jingoo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
769 B
Nix
Raw Normal View History

2020-05-13 21:04:09 +01:00
{ lib, buildDunePackage, fetchFromGitHub
, menhir, ppxlib, ppx_deriving, re, uutf, uucp, ounit2 }:
2020-05-13 21:04:09 +01:00
buildDunePackage rec {
pname = "jingoo";
version = "1.4.2";
useDune2 = true;
2020-05-13 21:04:09 +01:00
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "tategakibunko";
repo = "jingoo";
rev = "v${version}";
sha256 = "0q947aik4i4z5wjllhwlkxh60qczwgra21yyrrzwhi9y5bnf8346";
};
2020-05-13 21:04:09 +01:00
buildInputs = [ menhir ];
propagatedBuildInputs = [ ppxlib ppx_deriving re uutf uucp ];
2020-05-13 21:04:09 +01:00
checkInputs = [ ounit2 ];
doCheck = true;
2020-05-13 21:04:09 +01:00
meta = with lib; {
homepage = "https://github.com/tategakibunko/jingoo";
description = "OCaml template engine almost compatible with jinja2";
license = licenses.mit;
maintainers = [ maintainers.ericbmerritt ];
};
}