forked from mirrors/nixpkgs
ocamlPackages.ocplib-json-typed: init at 0.5
This commit is contained in:
parent
74b3a8f5ae
commit
f6e1d929a0
25
pkgs/development/ocaml-modules/ocplib-json-typed/default.nix
Normal file
25
pkgs/development/ocaml-modules/ocplib-json-typed/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue