1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/ezjsonm/default.nix

27 lines
773 B
Nix
Raw Normal View History

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