ppx_deriving_cmdliner: init at 0.6.0
This commit is contained in:
parent
d196216e11
commit
bc33b23cd0
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, buildDunePackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, alcotest
|
||||||
|
, cmdliner
|
||||||
|
, ppx_deriving
|
||||||
|
, ppxlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "ppx_deriving_cmdliner";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
minimumOCamlVersion = "4.08";
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hammerlab";
|
||||||
|
repo = "ppx_deriving_cmdliner";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "19l32y2wv64d1c7fvln07dg3bkf7wf5inzjxlff7lbabskdbbras";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cmdliner
|
||||||
|
ppx_deriving
|
||||||
|
ppxlib
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkInputs = [
|
||||||
|
alcotest
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Ppx_deriving plugin for generating command line interfaces from types for OCaml";
|
||||||
|
inherit (src.meta) homepage;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.romildo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1076,6 +1076,8 @@ let
|
||||||
|
|
||||||
ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson {};
|
ppx_deriving_yojson = callPackage ../development/ocaml-modules/ppx_deriving_yojson {};
|
||||||
|
|
||||||
|
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 {};
|
||||||
|
|
||||||
ppx_import = callPackage ../development/ocaml-modules/ppx_import (
|
ppx_import = callPackage ../development/ocaml-modules/ppx_import (
|
||||||
|
|
Loading…
Reference in a new issue