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

24 lines
656 B
Nix
Raw Normal View History

{stdenv, buildOcaml, fetchurl, batteries, pcre}:
buildOcaml rec {
name = "jingoo";
version = "1.2.7";
src = fetchurl {
url = "https://github.com/tategakibunko/jingoo/archive/v${version}.tar.gz";
sha256 = "8ffc5723d77b323a12761981d048c046af77db47543a4b1076573aa5f4003009";
};
propagatedBuildInputs = [ batteries pcre ];
preInstall = "mkdir -p $out/bin";
installFlags = "BINDIR=$(out)/bin";
meta = with stdenv.lib; {
homepage = https://github.com/tategakibunko/jingoo;
description = "OCaml template engine almost compatible with jinja2";
license = licenses.mit;
maintainers = [ maintainers.ericbmerritt ];
};
}