this repo has no description
1opam-version: "2.0"
2maintainer: "anil@recoil.org"
3authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"]
4synopsis: "A library for manipulation of IP (and MAC) address representations"
5description: """
6Features:
7 * Depends only on sexplib (conditionalization under consideration)
8 * oUnit-based tests
9 * IPv4 and IPv6 support
10 * IPv4 and IPv6 CIDR prefix support
11 * IPv4 and IPv6 [CIDR-scoped address](http://tools.ietf.org/html/rfc4291#section-2.3) support
12 * `Ipaddr.V4` and `Ipaddr.V4.Prefix` modules are `Map.OrderedType`
13 * `Ipaddr.V6` and `Ipaddr.V6.Prefix` modules are `Map.OrderedType`
14 * `Ipaddr` and `Ipaddr.Prefix` modules are `Map.OrderedType`
15 * `Ipaddr_unix` in findlib subpackage `ipaddr.unix` provides compatibility with the standard library `Unix` module
16 * `Ipaddr_top` in findlib subpackage `ipaddr.top` provides top-level pretty printers (requires compiler-libs default since OCaml 4.0)
17 * IP address scope classification
18 * IPv4-mapped addresses in IPv6 (::ffff:0:0/96) are an embedding of IPv4
19 * MAC-48 (Ethernet) address support
20 * `Macaddr` is a `Map.OrderedType`
21 * All types have sexplib serializers/deserializers
22"""
23
24license: "ISC"
25tags: ["org:mirage" "org:xapi-project"]
26homepage: "https://github.com/mirage/ocaml-ipaddr"
27doc: "https://mirage.github.io/ocaml-ipaddr/"
28bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
29depends: [
30 "ocaml" {>= "4.03.0" & < "5.0"}
31 "dune" {>= "1.6.0"}
32 "base-bytes"
33 "ppx_sexp_conv" {>= "v0.9.0"}
34 "sexplib"
35 "base-unix"
36 "ounit" {with-test}
37]
38build: [
39 ["dune" "subst"] {dev}
40 ["dune" "build" "-p" name "-j" jobs]
41 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
42]
43dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git"
44url {
45 src:
46 "https://github.com/mirage/ocaml-ipaddr/releases/download/2.9.0/ipaddr-2.9.0.tbz"
47 checksum: [
48 "sha256=045e9fa2b0b2917cc658c78179024452f208e513a9322ae97dbb899995db55c9"
49 "md5=7d4fa9d31d57d900f0042bd96cb76323"
50 ]
51}