nixpkgs/pkgs/development/ocaml-modules/ppx_yojson_conv/default.nix
superherointj 40ae5e072c
build-support/ocaml: deprecate minimumOCamlVersion (#319907)
* ocamlPackages.wtf8: use minimalOCamlVersion

* ocamlPackages.ppx_yojson_conv: minimalOCamlVersion

* ocamlPackages.postgresql: use minimalOCamlVersion

* ocamlPackages.opti: use minimalOCamlVersion

* ocamlPackages.opam-repository: use minimalOCamlVersion

* ocamlPackages.opam-format: use minimalOCamlVersion

* ocamlPackages.lwt-dllist: use minimalOCamlVersion

* ocamlPackages.lacaml: use minimalOCamlVersion

* ocamlPackages.gnuplot: use minimalOCamlVersion

* ocamlPackages.fix: use minimalOCamlVersion

* ocamlPackages.eigen: use minimalOCamlVersion

* ocamlPackages.earley: use minimalOCamlVersion

* ocamlPackages.directories: use minimalOCamlVersion

* ocamlPackages.cpuid: use minimalOCamlVersion

* build-support/ocaml: deprecate minimumOCamlVersion

* build-support/ocaml: deprecate minimumOCamlVersion

---------

Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com>
2024-06-21 10:29:31 +02:00

34 lines
766 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];
};
}