python312Packages.mandown: 1.10.0 -> 1.10.1 (#370595)
[NixPkgs.git] / pkgs / development / ocaml-modules / ppx_deriving_yaml / default.nix
blobc33ad55e9b19e631e133ce43a2e55272e78e244a
2   lib,
3   buildDunePackage,
4   fetchurl,
5   ppxlib,
6   alcotest,
7   mdx,
8   ppx_deriving,
9   yaml,
12 buildDunePackage rec {
13   pname = "ppx_deriving_yaml";
14   version = "0.3.0";
16   minimalOCamlVersion = "4.08";
18   src = fetchurl {
19     url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
20     hash = "sha256-HLY0ozmy6zY0KjXkwP3drTdz857PvLS/buN1nB+xf1s=";
21   };
23   propagatedBuildInputs = [
24     ppxlib
25     ppx_deriving
26     yaml
27   ];
29   doCheck = true;
30   checkInputs = [ alcotest ];
31   nativeCheckInputs = [ mdx.bin ];
33   meta = {
34     description = "YAML codec generator for OCaml";
35     homepage = "https://github.com/patricoferris/ppx_deriving_yaml";
36     license = lib.licenses.isc;
37     maintainers = [ ];
38   };