mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Adds ocaml-ezjsonm
An easy interface on top of the Jsonm library. Homepage: https://github.com/mirage/ezjsonm
This commit is contained in:
parent
c1814073ac
commit
3532d658b5
26
pkgs/development/ocaml-modules/ezjsonm/default.nix
Normal file
26
pkgs/development/ocaml-modules/ezjsonm/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
@ -3753,6 +3753,11 @@ let
|
|||||||
|
|
||||||
eliom = callPackage ../development/ocaml-modules/eliom { };
|
eliom = callPackage ../development/ocaml-modules/eliom { };
|
||||||
|
|
||||||
|
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm {
|
||||||
|
lwt = ocaml_lwt;
|
||||||
|
sexplib = ocaml_sexplib;
|
||||||
|
};
|
||||||
|
|
||||||
fieldslib = callPackage ../development/ocaml-modules/fieldslib { };
|
fieldslib = callPackage ../development/ocaml-modules/fieldslib { };
|
||||||
|
|
||||||
findlib = callPackage ../development/tools/ocaml/findlib { };
|
findlib = callPackage ../development/tools/ocaml/findlib { };
|
||||||
|
Loading…
Reference in New Issue
Block a user