mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
fc4b5786cd
PPX/P4 split
27 lines
756 B
Nix
27 lines
756 B
Nix
{ stdenv, fetchzip, ocaml, findlib, jsonm, hex, sexplib_p4, lwt }:
|
|
|
|
let version = "0.4.1"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-ezjsonm-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/mirage/ezjsonm/archive/${version}.tar.gz";
|
|
sha256 = "0cfjh8awajvw6kkmxr65dvri4k6h29pynxvk76a8c2lkixpsc095";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ];
|
|
propagatedBuildInputs = [ jsonm hex sexplib_p4 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 or [];
|
|
};
|
|
}
|