1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/jingoo/default.nix
2020-10-11 11:40:44 +02:00

30 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 ];
};
}