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.1.0/mirage-protocols-v3.1.0.tbz"
  checksum: [
    "sha256=d4087ca630321a723509c17253e4e88a506cd18fdf8792294a1a6e022c6ac029"
    "sha512=39959f2f573970cc4ac9069fbb264837b412ea7bf7ef2784fcef9ae7ef97907cc1638289abeb6b1064af9a8e041faef12b1ae0757824904951b635b454a618f8"
  ]
}
