ocamlPackages.ppx_deriving_yaml: init at 0.1.0 (#139635)
This commit is contained in:
parent
bc1974e35d
commit
e753a9141a
29
pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix
Normal file
29
pkgs/development/ocaml-modules/ppx_deriving_yaml/default.nix
Normal 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 = [ ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1156,6 +1156,8 @@ let
|
||||||
|
|
||||||
ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson {};
|
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_deriving_cmdliner = callPackage ../development/ocaml-modules/ppx_deriving_cmdliner {};
|
||||||
|
|
||||||
ppx_gen_rec = callPackage ../development/ocaml-modules/ppx_gen_rec {};
|
ppx_gen_rec = callPackage ../development/ocaml-modules/ppx_gen_rec {};
|
||||||
|
|
Loading…
Reference in a new issue