Skip to content

Commit f6e1d92

Browse files
committedJun 30, 2017
ocamlPackages.ocplib-json-typed: init at 0.5
1 parent 74b3a8f commit f6e1d92

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{ stdenv, fetchFromGitHub, ocaml, findlib, ocplib-endian, js_of_ocaml, uri }:
2+
3+
stdenv.mkDerivation rec {
4+
name = "ocaml${ocaml.version}-ocplib-json-typed-${version}";
5+
version = "0.5";
6+
src = fetchFromGitHub {
7+
owner = "OCamlPro";
8+
repo = "ocplib-json-typed";
9+
rev = "v${version}";
10+
sha256 = "02c600wm2wdpzb66pivxzwjhqa2dm7dqyfvw3mbvkv1g2jj7kn2q";
11+
};
12+
13+
buildInputs = [ ocaml findlib ocplib-endian js_of_ocaml ];
14+
propagatedBuildInputs = [ uri ];
15+
16+
createFindlibDestdir = true;
17+
18+
meta = {
19+
description = "A collection of type-aware JSON utilities for OCaml";
20+
license = stdenv.lib.licenses.lgpl21;
21+
maintainers = [ stdenv.lib.maintainers.vbgl ];
22+
inherit (src.meta) homepage;
23+
inherit (ocaml.meta) platforms;
24+
};
25+
}

Diff for: ‎pkgs/top-level/ocaml-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ let
395395

396396
ocplib-endian = callPackage ../development/ocaml-modules/ocplib-endian { };
397397

398+
ocplib-json-typed = callPackage ../development/ocaml-modules/ocplib-json-typed { };
399+
398400
ocplib-simplex = callPackage ../development/ocaml-modules/ocplib-simplex { };
399401

400402
ocsigen_server = callPackage ../development/ocaml-modules/ocsigen-server { };

0 commit comments

Comments
 (0)
Please sign in to comment.