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.04.0" & < "5.0"}
31 "dune" {>="1.9.0"}
32 "macaddr" {=version}
33 "sexplib0"
34 "domain-name" {>= "0.3.0"}
35 "ounit" {with-test}
36 "ppx_sexp_conv" {with-test & >= "v0.9.0"}
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/v4.0.0/ipaddr-v4.0.0.tbz"
47 checksum: [
48 "sha256=6f4abf9c210b20ccddf4610691a87b8c870790d8f71d4a7edcfca9e21b59fc29"
49 "sha512=ca55a8cfa8b84c0a2f4e1fe7afb4c582066bbb562efb94169c0347e441ce076dc426d191772edb869eca6bd77f42f7141378181057ad8886da25ef915a9ee57f"
50 ]
51}