Files
2025-10-10 20:50:39 +02:00

27 lines
417 B
Nix

{
buildDunePackage,
xtmpl,
ppxlib,
}:
buildDunePackage {
pname = "xtmpl_ppx";
inherit (xtmpl) src version;
# Fix for ppxlib ≥ 0.37
postPatch = ''
substituteInPlace ppx/ppx_xtmpl.ml --replace-fail 'Parse.longident b' \
'Astlib.Longident.parse s'
'';
buildInputs = [
ppxlib
xtmpl
];
meta = xtmpl.meta // {
description = "Xml templating library, ppx extension";
};
}