|
| 1 | +opam-version: "2.0" |
| 2 | + |
| 3 | +authors: ["David Sheets" "Anil Madhavapeddy" "Hugo Heuzard"] |
| 4 | +synopsis: "A library for manipulation of IP (and MAC) address representations" |
| 5 | +description: """ |
| 6 | +Features: |
| 7 | + * Depends only on sexplib (conditionalization under consideration) |
| 8 | + * ounit2-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 | + |
| 24 | +license: "ISC" |
| 25 | +tags: ["org:mirage" "org:xapi-project"] |
| 26 | +homepage: "https://github.com/mirage/ocaml-ipaddr" |
| 27 | +doc: "https://mirage.github.io/ocaml-ipaddr/" |
| 28 | +bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues" |
| 29 | +depends: [ |
| 30 | + "ocaml" {>= "4.08.0"} |
| 31 | + "dune" {>= "1.9.0"} |
| 32 | + "macaddr" {= version} |
| 33 | + "domain-name" {>= "0.3.0"} |
| 34 | + "ounit2" {with-test} |
| 35 | + "ppx_sexp_conv" {with-test & >= "v0.9.0"} |
| 36 | +] |
| 37 | +build: [ |
| 38 | + ["dune" "subst"] {dev} |
| 39 | + ["dune" "build" "-p" name "-j" jobs] |
| 40 | + ["dune" "runtest" "-p" name "-j" jobs] {with-test} |
| 41 | +] |
| 42 | +dev-repo: "git+https://github.com/mirage/ocaml-ipaddr.git" |
| 43 | +url { |
| 44 | + src: |
| 45 | + "https://github.com/mirage/ocaml-ipaddr/releases/download/v5.5.0/ipaddr-5.5.0.tbz" |
| 46 | + checksum: [ |
| 47 | + "sha256=62890b316e035792ad29af1ad971456d10defd525b74b53db1b67fa42375c178" |
| 48 | + "sha512=d9742648e3e4fe3d0bc7a5b08e62d97dab5d52b6421712c0415b345ddeb63a2a5fbb61e3083e90ae8cf05009673975e2e2ece5e15bce256ccd34cbe78d810c83" |
| 49 | + ] |
| 50 | +} |
| 51 | +x-commit-hash: "234c6009a221e23a7dd4883756e6b2cc0d7c663b" |
0 commit comments