ocamlPackages.ppx_deriving_cmdliner: compatibility with ppxlib-0.26

This commit is contained in:
José Romildo 2022-10-23 11:23:25 -03:00
parent 3a669e05fd
commit c486b14861

View File

@ -1,6 +1,7 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, fetchpatch
, alcotest
, cmdliner
, ppx_deriving
@ -20,6 +21,15 @@ buildDunePackage rec {
sha256 = "sha256-/22KLQnxu3e2ZSca6ZLxTJDfv/rsmgCUkJnZC0RwRi8";
};
patches = [
# Ppxlib.0.26.0 compatibility
# remove when a new version is released
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/hammerlab/ppx_deriving_cmdliner/pull/50.patch";
sha256 = "sha256-FfUfEAsyobwZ99+s5sFAaCE6Xgx7jLr/q79OxDbGcvQ=";
})
];
propagatedBuildInputs = [
cmdliner
ppx_deriving