1{
2 lib,
3 buildDunePackage,
4 decoders,
5 jsonm,
6 containers,
7 ounit2,
8}:
9
10buildDunePackage rec {
11 pname = "decoders-jsonm";
12
13 # sub-package built separately from the same source
14 inherit (decoders) src version;
15
16 minimalOCamlVersion = "4.03.0";
17
18 propagatedBuildInputs = [
19 decoders
20 jsonm
21 ];
22
23 doCheck = true;
24 checkInputs = [
25 containers
26 ounit2
27 ];
28
29 meta = {
30 description = "Jsonm backend for decoders";
31 homepage = "https://github.com/mattjbray/ocaml-decoders";
32 changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md";
33 license = lib.licenses.isc;
34 maintainers = with lib.maintainers; [ infinidoge ];
35 };
36}