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