mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
32 lines
824 B
Nix
32 lines
824 B
Nix
{ lib, buildDunePackage, fetchFromGitHub, ocaml
|
|
, menhir, ppxlib, ppx_deriving, re, uutf, uucp, ounit2
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "jingoo";
|
|
version = "1.4.4";
|
|
|
|
minimalOCamlVersion = "4.05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tategakibunko";
|
|
repo = "jingoo";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-qIw69OE7wYyZYKnIc9QrmF8MzY5Fg5pBFyIpexmaYxA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ menhir ];
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving re uutf uucp ];
|
|
checkInputs = [ ounit2 ];
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/tategakibunko/jingoo";
|
|
description = "OCaml template engine almost compatible with jinja2";
|
|
mainProgram = "jingoo";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
};
|
|
}
|