depot/third_party/nixpkgs/pkgs/development/ocaml-modules/jingoo/default.nix
Default email 4a3aa3d7d8 Project import generated by Copybara.
GitOrigin-RevId: 24c9b05ac53e422f1af81a156f1fd58499eb27fb
2020-10-11 14:50:04 +02:00

29 lines
734 B
Nix

{ lib, buildDunePackage, fetchFromGitHub
, menhir, ppx_deriving, re, uutf, uucp, ounit2 }:
buildDunePackage rec {
pname = "jingoo";
version = "1.4.1";
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "tategakibunko";
repo = "jingoo";
rev = "v${version}";
sha256 = "16wzggwi3ri13v93mjk8w7zxwp65qmi1rnng2kpk9vffx5g1kv6f";
};
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 ];
};
}