3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ocplib-json-typed: init at 0.5

This commit is contained in:
Vincent Laporte 2017-06-30 19:51:28 +00:00
parent 74b3a8f5ae
commit f6e1d929a0
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocplib-endian, js_of_ocaml, uri }:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ocplib-json-typed-${version}";
version = "0.5";
src = fetchFromGitHub {
owner = "OCamlPro";
repo = "ocplib-json-typed";
rev = "v${version}";
sha256 = "02c600wm2wdpzb66pivxzwjhqa2dm7dqyfvw3mbvkv1g2jj7kn2q";
};
buildInputs = [ ocaml findlib ocplib-endian js_of_ocaml ];
propagatedBuildInputs = [ uri ];
createFindlibDestdir = true;
meta = {
description = "A collection of type-aware JSON utilities for OCaml";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
};
}

View file

@ -395,6 +395,8 @@ let
ocplib-endian = callPackage ../development/ocaml-modules/ocplib-endian { };
ocplib-json-typed = callPackage ../development/ocaml-modules/ocplib-json-typed { };
ocplib-simplex = callPackage ../development/ocaml-modules/ocplib-simplex { };
ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };