opam-version: "2.0"

maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
authors: [
  "Vincent Bernardoff <vb@luminar.eu.org>"
  "Rudi Grinberg <rgrinberg@gmail.com>"
]

homepage: "http://github.com/rgrinberg/onanomsg"
bug-reports: "http://github.com/rgrinberg/onanomsg/issues"
dev-repo: "git://github.com/rgrinberg/onanomsg"
license: "WTFPL"

depends: [
  "ocaml" {>= "4.02.0"}
  "conf-nanomsg"
  "ocamlfind" {build}
  "ctypes" {>= "0.2"}
  "ctypes-foreign"
  "containers" {>= "0.7"}
  "ipaddr" {>= "2.2.0"}
  "ppx_deriving" {>= "1.0" & < "3.0"}
  "ocamlbuild" {build}
  "lwt" {with-test}
]
depopts: [ "lwt" "ounit" ]

install: [
  "ocaml"
  "pkg/build.ml"
  "native=true"
  "native-dynlink=true"
  "lwt=%{lwt:installed}%"
  "ounit=%{ounit:installed}%"
]
synopsis: "Ctypes based bindings to nanomsg"
url {
  src: "http://github.com/rgrinberg/onanomsg/archive/1.0.tar.gz"
  checksum: "md5=5590f8df8accfc38e015032f794cca68"
}
