3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/ezjsonm/default.nix
Vincent Laporte 3532d658b5 Adds ocaml-ezjsonm
An easy interface on top of the Jsonm library.

Homepage: https://github.com/mirage/ezjsonm
2015-01-24 23:53:03 +01:00

27 lines
744 B
Nix

{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib, lwt }:
let version = "0.3.1"; in
stdenv.mkDerivation {
name = "ocaml-ezjsonm-${version}";
src = fetchzip {
url = "https://github.com/mirage/ezjsonm/archive/${version}.tar.gz";
sha256 = "0cz1v75j8j5y4vfcgylp5zaxiy7541qg6pm4wrgmvy6fmh82654f";
};
buildInputs = [ ocaml findlib ];
propagatedBuildInputs = [ jsonm hex sexplib lwt ];
createFindlibDestdir = true;
configureFlags = "--enable-lwt";
meta = {
description = "An easy interface on top of the Jsonm library";
homepage = https://github.com/mirage/ezjsonm;
license = stdenv.lib.licenses.isc;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
platforms = ocaml.meta.platforms;
};
}