blob: 891bde287a9d3b81675bcefe27a41f18614789d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
fetchpatch,
buildDunePackage,
ocf,
ppxlib,
}:
buildDunePackage {
pname = "ocf_ppx";
minimalOCamlVersion = "4.11";
inherit (ocf) src version;
patches = [
# Support for ppxlib ≥ 0.37
(fetchpatch {
url = "https://framagit.org/zoggy/ocf/-/commit/38b1f6420e5c01b3ea6b2fed99b6b62e4c848dc0.patch";
hash = "sha256-GymTdK/dOYGianvNIKkl9OhBGW+4dX5TqAkQuEF5FmA=";
includes = [ "*.ml" ];
})
];
buildInputs = [
ppxlib
ocf
];
meta = ocf.meta // {
description = "Preprocessor for Ocf library";
};
}
|