|
| 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.4.0/ipaddr-5.4.0.tbz" |
| 46 | + checksum: [ |
| 47 | + "sha256=5a66291bf710b45f7e9550ecd562227af519d5fefe899da1b9fb1d0f51c735ea" |
| 48 | + "sha512=c0c564529bceeb1263a6200f5f86c53ee38874a7cd3ba6dd4b435cb87e0247ba85b0ee46ab5f517ef81aa05f4187d2ba20d10013d3faa2763b64daf85046ae96" |
| 49 | + ] |
| 50 | +} |
| 51 | +x-commit-hash: "3c8d00a371b07bac6184bce97b37fc68cf5a8d5d" |
0 commit comments