opam-version: "2.0" maintainer: "andreashauptmann@t-online.de" authors: [ "andreashauptmann@t-online.de" ] license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" homepage: "https://fdopen.github.io/ppx_cstubs/" dev-repo: "git+https://github.com/fdopen/ppx_cstubs.git" doc: "https://fdopen.github.io/ppx_cstubs/" bug-reports: "https://github.com/fdopen/ppx_cstubs/issues" build: [ ["dune" "build" "-p" name "-j" jobs] ] depends: [ "bigarray-compat" "ctypes" {>= "0.13.0"} "integers" "num" "result" "containers" {>= "2.2"} "cppo" {build & >= "1.3"} "ocaml" {>= "4.04.2" & < "5.1"} "ppxlib" {>= "0.22.0" & < "0.36.0"} "ocamlfind" {>= "1.7.2"} # not only a build dependency, it depends on findlib.top "dune" {>= "1.6"} "re" {>= "1.7.2"} ] synopsis: "Preprocessor for easier stub generation with ctypes" description: """ ppx_cstubs is a ppx-based preprocessor for stub generation with ctypes. ppx_cstubs creates two files from a single ml file: a file with c stub code and an OCaml file with all additional boilerplate code. """ url { src: "https://github.com/fdopen/ppx_cstubs/archive/0.7.0.tar.gz" checksum: [ "md5=3bbe998f6cff3bff1ae0e7de991a9f93" "sha512=b803284fe79da0b9bdd3e82d1ef113382a8de387d70d81f7ac0c9c8c7bcf5c6f5054075e64f2b10ae07e7dd8c57bb0f1de9d7140fff89cf26dc8efeec98fd944" ] }