3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/ezjsonm/default.nix
2017-02-19 04:53:44 +00:00

27 lines
750 B
Nix

{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib, lwt }:
let version = "0.4.3"; in
stdenv.mkDerivation {
name = "ocaml-ezjsonm-${version}";
src = fetchzip {
url = "https://github.com/mirage/ezjsonm/archive/${version}.tar.gz";
sha256 = "1y6p3ga6vj1wx5dyns7hjgd0qgrrn2hnn323a7y5didgci5pybls";
};
buildInputs = [ ocaml findlib lwt ];
propagatedBuildInputs = [ jsonm hex sexplib ];
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 or [];
};
}