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 { lib
, buildDunePackage , buildDunePackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, alcotest , alcotest
, cmdliner , cmdliner
, ppx_deriving , ppx_deriving
@ -20,6 +21,15 @@ buildDunePackage rec {
sha256 = "sha256-/22KLQnxu3e2ZSca6ZLxTJDfv/rsmgCUkJnZC0RwRi8"; 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 = [ propagatedBuildInputs = [
cmdliner cmdliner
ppx_deriving ppx_deriving