2021-10-19 06:25:50 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, ppxlib, alcotest
|
|
|
|
, ppx_deriving, yaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ppx_deriving_yaml";
|
2022-07-06 05:21:03 +00:00
|
|
|
version = "0.1.1";
|
2021-10-19 06:25:50 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-17 06:22:20 +00:00
|
|
|
duneVersion = "3";
|
2021-10-19 06:25:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-07-06 05:21:03 +00:00
|
|
|
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-${version}.tbz";
|
|
|
|
sha256 = "sha256-nR3568ULM6jaGG4H4+lLBTEJqh/ALHPiJxve40jPUxw=";
|
2021-10-19 06:25:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ppxlib ppx_deriving yaml ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2022-03-01 15:42:22 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2021-10-19 06:25:50 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A YAML codec generator for OCaml";
|
|
|
|
homepage = "https://github.com/patricoferris/ppx_deriving_yaml";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|