Skip to content

Commit

Permalink
+ctypes-windows.0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Feb 26, 2024
1 parent 8959131 commit fad76bc
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions packages/ctypes-windows/ctypes-windows.0.22.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
opam-version: "2.0"
synopsis: "Combinators for binding to C libraries without writing any C"
description: """

ctypes is a library for binding to C libraries using pure OCaml. The primary
aim is to make writing C extensions as straightforward as possible.
The core of ctypes is a set of combinators for describing the structure of C
types -- numeric types, arrays, pointers, structs, unions and functions. You
can use these combinators to describe the types of the functions that you want
to call, then bind directly to those functions -- all without writing or
generating any C!

To install the optional `ctypes-foreign` interface (which uses `libffi` to
provide dynamic access to foreign libraries), you will need to also install
the `ctypes-foreign` package.

opam install ctypes-foreign

This will make the `ctypes-foreign` ocamlfind subpackage available."""
maintainer: ["Jeremy Yallop <[email protected]>"]
authors: ["Jeremy Yallop"]
license: "MIT"
tags: ["org:mirage"]
homepage: "https://github.com/yallop/ocaml-ctypes"
doc: "https://yallop.github.io/ocaml-ctypes/"
bug-reports: "https://github.com/yallop/ocaml-ctypes/issues"
depends: [
"dune" {>= "2.9"}
"ocaml-windows" {>= "4.03.0"}
"integers"
"integers-windows"
"dune-configurator"
"bigarray-compat"
"bigarray-compat-windows"
]
build: [
[
"dune"
"build"
"-p"
"ctypes"
"-x"
"windows"
"-j"
jobs
"@install"
]
]
dev-repo: "git+https://github.com/yallop/ocaml-ctypes.git"
url {
src: "https://github.com/yallop/ocaml-ctypes/archive/refs/tags/0.22.0.tar.gz"
checksum: "md5=8a301a3e3b79156448a6659859ad506c"
}

0 comments on commit fad76bc

Please sign in to comment.