opam-version: "2.0"
maintainer: "essdotteedot <essdotteedot@gmail.com>"
authors: "essdotteedot <essdotteedot@gmail.com>"
homepage: "https://github.com/essdotteedot/distributed"
bug-reports: "https://github.com/essdotteedot/distributed/issues"
license: "MIT"
dev-repo: "git+https://github.com/essdotteedot/distributed.git"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix "--%{lwt:enable}%-lwt"]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-configure" "--enable-tests" "--%{lwt:enable}%-lwt"]
    {with-test}
  ["ocaml" "setup.ml" "-build"] {with-test}
  ["ocaml" "setup.ml" "-test"] {with-test}
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "distributed"]
depends: [
  "ocaml" {>= "4.02.3"}
  "base-threads"
  "base-unix"
  "lwt" {>= "2.7.0" & < "4.0.0"}
  "ocamlbuild" {build}
  "ocamlfind" {build}
  "ounit" {with-test & >= "2.0"}
]
synopsis:
  "Library to provide Erlang style distributed computations. This library is inspired by Cloud Haskell."
description: """
Primitive for spawning processes (in the Erlang sense) either remotely or locally, monitoring/unmonitoring spawned processes, sending, 
receiving, broadcasting messages to those processes. Unlike Erlang, the messages that are sent between processes are typed."""
flags: light-uninstall
url {
  src: "https://github.com/essdotteedot/distributed/archive/v0.4.0.tar.gz"
  checksum: "md5=4db28d42f3c31c0d252ba2e479870232"
}
