14 buildDunePackage rec {
15 pname = "ppx_deriving_cmdliner";
18 minimalOCamlVersion = "4.11";
20 src = fetchFromGitHub {
24 sha256 = "sha256-/22KLQnxu3e2ZSca6ZLxTJDfv/rsmgCUkJnZC0RwRi8";
28 # Ppxlib.0.26.0 compatibility
29 # remove when a new version is released
31 url = "https://patch-diff.githubusercontent.com/raw/hammerlab/ppx_deriving_cmdliner/pull/50.patch";
32 sha256 = "sha256-FfUfEAsyobwZ99+s5sFAaCE6Xgx7jLr/q79OxDbGcvQ=";
36 propagatedBuildInputs = [
48 passthru.updateScript = gitUpdater { rev-prefix = "v"; };
51 description = "Ppx_deriving plugin for generating command line interfaces from types for OCaml";
52 homepage = "https://github.com/hammerlab/ppx_deriving_cmdliner";
53 license = licenses.asl20;
54 maintainers = [ maintainers.romildo ];