Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 30 lines 796 B view raw
1{ lib, buildDunePackage, fetchFromGitHub, ocaml 2, menhir, ppxlib, ppx_deriving, re, uutf, uucp, ounit2 3}: 4 5buildDunePackage rec { 6 pname = "jingoo"; 7 version = "1.4.4"; 8 9 minimalOCamlVersion = "4.05"; 10 11 src = fetchFromGitHub { 12 owner = "tategakibunko"; 13 repo = "jingoo"; 14 rev = "v${version}"; 15 sha256 = "sha256-qIw69OE7wYyZYKnIc9QrmF8MzY5Fg5pBFyIpexmaYxA="; 16 }; 17 18 nativeBuildInputs = [ menhir ]; 19 propagatedBuildInputs = [ ppxlib ppx_deriving re uutf uucp ]; 20 checkInputs = [ ounit2 ]; 21 doCheck = lib.versionAtLeast ocaml.version "4.08"; 22 23 24 meta = with lib; { 25 homepage = "https://github.com/tategakibunko/jingoo"; 26 description = "OCaml template engine almost compatible with jinja2"; 27 license = licenses.mit; 28 maintainers = [ maintainers.ericbmerritt ]; 29 }; 30}