15 description = "C preprocessor for OCaml";
18 Cppo is an equivalent of the C preprocessor targeted at the OCaml language and its variants.
20 homepage = "https://github.com/ocaml-community/${pname}";
21 maintainers = [ maintainers.vbgl ];
22 license = licenses.bsd3;
27 if lib.versionAtLeast ocaml.version "4.02" then
29 buildDunePackage rec {
35 src = fetchFromGitHub {
36 owner = "ocaml-community";
39 sha256 = "sha256-NdN2QnVRfRq9hEcSAnO2Wha7icDlf2Zg4JQqoEWmErE=";
55 name = "${pname}-${version}";
57 src = fetchFromGitHub {
61 sha256 = "1xqldjz9risndnabvadw41fdbi5sa2hl4fnqls7j9xfbby1izbg8";
74 createFindlibDestdir = true;
76 makeFlags = [ "PREFIX=$(out)" ];