Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
770 B
Nix
35 lines
770 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
ppx_js_style,
|
|
ppx_yojson_conv_lib,
|
|
ppxlib,
|
|
}:
|
|
buildDunePackage rec {
|
|
pname = "ppx_yojson_conv";
|
|
version = "0.15.1";
|
|
duneVersion = "3";
|
|
minimalOCamlVersion = "4.08.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janestreet";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-lSOUSMVgsRiArEhFTKpAj2yFBPbtaIc/SxdPA+24xXs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
ppx_js_style
|
|
ppx_yojson_conv_lib
|
|
ppxlib
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "PPX syntax extension that generates code for converting OCaml types to and from Yojson";
|
|
homepage = "https://github.com/janestreet/ppx_yojson_conv";
|
|
maintainers = with maintainers; [ djacu ];
|
|
license = with licenses; [ mit ];
|
|
};
|
|
}
|