1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 ppx_js_style,
6 ppx_yojson_conv_lib,
7 ppxlib,
8}:
9buildDunePackage rec {
10 pname = "ppx_yojson_conv";
11 version = "0.15.1";
12 duneVersion = "3";
13 minimalOCamlVersion = "4.08.0";
14
15 src = fetchFromGitHub {
16 owner = "janestreet";
17 repo = pname;
18 rev = "v${version}";
19 sha256 = "sha256-lSOUSMVgsRiArEhFTKpAj2yFBPbtaIc/SxdPA+24xXs=";
20 };
21
22 propagatedBuildInputs = [
23 ppx_js_style
24 ppx_yojson_conv_lib
25 ppxlib
26 ];
27
28 meta = with lib; {
29 description = "PPX syntax extension that generates code for converting OCaml types to and from Yojson";
30 homepage = "https://github.com/janestreet/ppx_yojson_conv";
31 maintainers = with maintainers; [ djacu ];
32 license = with licenses; [ mit ];
33 };
34}