Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocaml-jingoo: add initial version (1.2.7) to the system

+28
+23
pkgs/development/ocaml-modules/jingoo/default.nix
···
··· 1 + {stdenv, buildOcaml, fetchurl, batteries, pcre}: 2 + 3 + buildOcaml rec { 4 + name = "jingoo"; 5 + version = "1.2.7"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/tategakibunko/jingoo/archive/v${version}.tar.gz"; 9 + sha256 = "8ffc5723d77b323a12761981d048c046af77db47543a4b1076573aa5f4003009"; 10 + }; 11 + 12 + propagatedBuildInputs = [ batteries pcre ]; 13 + 14 + preInstall = "mkdir -p $out/bin"; 15 + installFlags = "BINDIR=$(out)/bin"; 16 + 17 + meta = with stdenv.lib; { 18 + homepage = https://github.com/tategakibunko/jingoo; 19 + description = "OCaml template engine almost compatible with jinja2"; 20 + license = licenses.mit; 21 + maintainers = [ maintainers.ericbmerritt ]; 22 + }; 23 + }
+5
pkgs/top-level/all-packages.nix
··· 4202 4203 hex = callPackage ../development/ocaml-modules/hex { }; 4204 4205 js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { }; 4206 4207 jsonm = callPackage ../development/ocaml-modules/jsonm { };
··· 4202 4203 hex = callPackage ../development/ocaml-modules/hex { }; 4204 4205 + jingoo = callPackage ../development/ocaml-modules/jingoo { 4206 + batteries = ocaml_batteries; 4207 + pcre = ocaml_pcre; 4208 + }; 4209 + 4210 js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { }; 4211 4212 jsonm = callPackage ../development/ocaml-modules/jsonm { };