opam-version: "2.0"
maintainer:   "Mindy Preston <meetup@yomimono.org>"
authors:      ["Mindy Preston <meetup@yomimono.org>"]
homepage:     "https://github.com/mirage/mirage-protocols"
doc:          "https://mirage.github.io/mirage-protocols/"
license:      "ISC"
dev-repo:     "git+https://github.com/mirage/mirage-protocols.git"
bug-reports:  "https://github.com/mirage/mirage-protocols/issues"
tags:         ["org:mirage"]

build: [
  [ "dune" "subst" ] {pinned}
  [ "dune" "build" "-p" name "-j" jobs ]
]

depends: [
  "ocaml" {>= "4.04.2"}
  "dune" {>= "1.0"}
  "mirage-device" {>= "1.0.0" & < "2.0.0"}
  "mirage-flow" {>= "1.2.0" & < "2.0.0"}
  "mirage-net" {>= "2.0.0" & < "3.0.0"}
  "fmt"
  "duration"
]
synopsis: "MirageOS signatures for network protocols"
description: """
mirage-protocols provides a set of module types which libraries intended to
be used as MirageOS network implementations should implement.

The current signatures are: ETHERNET, ARP, IP, ICMP, UDP, TCP.
"""
url {
  src:
    "https://github.com/mirage/mirage-protocols/releases/download/v3.0.0/mirage-protocols-v3.0.0.tbz"
  checksum: [
    "sha256=b83352a91bb7a693ef7a2022539e789b869903946bbe374bac2df078d60b93e2"
    "sha512=041c16ee3749562a3900762ef1c179f3d97efb856ec79346223083399cfb13b0e22d2041fb4208b98a557ae5ddf561d79c14362a8ce32dd08fe006b45e4b1c3e"
  ]
}
