this repo has no description

Add ctypes 0.21.0, ctypes-foreign 0.21.0

Changed files
+107
packages
ctypes
ctypes.0.21.0
ctypes-foreign
ctypes-foreign.0.21.0
+49
packages/ctypes-foreign/ctypes-foreign.0.21.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Dynamic access to foreign C libraries using Ctypes"
+
description: """
+
+
This installs the `ctypes-foreign` interface which
+
uses `libffi` to provide dynamic access to foreign libraries."""
+
maintainer: ["Jeremy Yallop <yallop@gmail.com>"]
+
authors: ["Jeremy Yallop"]
+
license: "MIT"
+
tags: ["org:mirage"]
+
homepage: "https://github.com/yallop/ocaml-ctypes"
+
doc: "https://ocamllabs.github.io/ocaml-ctypes/"
+
bug-reports: "https://github.com/yallop/ocaml-ctypes/issues"
+
depends: [
+
"dune" {>= "2.9"}
+
"ocaml" {>= "4.03.0"}
+
"integers" {with-test & >= "0.2.2"}
+
"ctypes" {= version}
+
"dune-configurator"
+
"conf-pkg-config"
+
"lwt" {with-test & >= "2.4.7"}
+
"ounit2" {with-test}
+
"conf-ncurses" {with-test}
+
"stdlib-shims" {with-test}
+
"conf-fts" {with-test & os != "win32"}
+
"conf-libffi" {>= "2.0.0"}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"--promote-install-files=false"
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
["dune" "install" "-p" name "--create-install-files" name]
+
]
+
dev-repo: "git+https://github.com/yallop/ocaml-ctypes.git"
+
url {
+
src: "https://github.com/yallop/ocaml-ctypes/archive/refs/tags/0.21.0.tar.gz"
+
checksum: "md5=dbd214c8fd68023de46df849a688a1e4"
+
}
+58
packages/ctypes/ctypes.0.21.0/opam
···
+
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 <yallop@gmail.com>"]
+
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" {>= "4.03.0"}
+
"integers"
+
"dune-configurator"
+
"bigarray-compat"
+
"ounit2" {with-test}
+
"conf-fts" {with-test & os != "win32"}
+
"conf-pkg-config" {with-test}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"--promote-install-files=false"
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
["dune" "install" "-p" name "--create-install-files" name]
+
]
+
dev-repo: "git+https://github.com/yallop/ocaml-ctypes.git"
+
url {
+
src: "https://github.com/yallop/ocaml-ctypes/archive/refs/tags/0.21.0.tar.gz"
+
checksum: "md5=dbd214c8fd68023de46df849a688a1e4"
+
}