ocamlPackages.ppx_deriving_yaml: init at 0.1.0 (#139635)

This commit is contained in:
TG × ⊙ 2021-10-19 08:25:50 +02:00 committed by GitHub
parent bc1974e35d
commit e753a9141a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, buildDunePackage, fetchurl, ppxlib, alcotest
, ppx_deriving, yaml
}:
buildDunePackage rec {
pname = "ppx_deriving_yaml";
version = "0.1.0";
useDune2 = true;
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/patricoferris/ppx_deriving_yaml/releases/download/v${version}/ppx_deriving_yaml-v${version}.tbz";
sha256 = "kdonUD4Y8QhVSAFAafIpXBFPkS4pSScYwJbaWMn/6pA=";
};
propagatedBuildInputs = [ ppxlib ppx_deriving yaml ];
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "A YAML codec generator for OCaml";
homepage = "https://github.com/patricoferris/ppx_deriving_yaml";
license = lib.licenses.isc;
maintainers = [ ];
};
}

View file

@ -1156,6 +1156,8 @@ let
ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson {};
ppx_deriving_yaml = callPackage ../development/ocaml-modules/ppx_deriving_yaml {};
ppx_deriving_cmdliner = callPackage ../development/ocaml-modules/ppx_deriving_cmdliner {};
ppx_gen_rec = callPackage ../development/ocaml-modules/ppx_gen_rec {};