opam-version: "2.0"
maintainer:   "thomas@gazagnaire.org"
authors:      ["Thomas Leonard" "Magnus Skjegstad"
               "David Scott" "Thomas Gazagnaire"]
license:      "Apache-1.0+"
homepage:     "https://github.com/moby/datakit"
bug-reports:  "https://github.com/moby/datakit/issues"
dev-repo: "git+https://github.com/moby/datakit.git"
doc:          "https://docker.github.io/datakit/"

build: [
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "tests/datakit"] {with-test}
  ["jbuilder" "runtest" "tests/datakit-9p"] {with-test}
]
depends: [
  "ocaml" {>= "4.02.0"}
  "jbuilder" {>= "1.0+beta10" & < "1.0+beta18"}
  "cmdliner"
  "rresult"
  "astring"
  "fmt"
  "asetmap"
  "git" {>= "1.11.0" & < "1.12.0"}
  "uri"
  "irmin" {>= "1.2.0" & < "1.4.0"}
  "irmin-mem" {>= "1.2.0" & < "2.0.0"}
  "irmin-git" {>= "1.2.0" & < "2.0.0"}
  "cstruct" {>= "2.2"}
  "result"
  "lwt" {>= "3.0.0"}
  "conduit-lwt-unix" {>= "1.0.0"}
  "mirage-flow" {< "2.0.0"}
  "named-pipe" {>= "0.4.0"}
  "hvsock" {>= "0.8.1"}
  "logs" {>= "0.5.0"}
  "win-eventlog"
  "asl" {>= "0.10"}
  "mtime" {>= "1.0.0"}
  "irmin-watcher" {>= "0.2.0"}
  "prometheus-app"
  "protocol-9p-unix" {>= "0.11.0" & < "0.12.1"}
  "datakit-server-9p" {>= "0.12.0"}
  "datakit-client-9p" {with-test & >= "0.12.0"}
  "alcotest" {with-test & >= "0.8.0"}
]
synopsis: "Orchestrate applications using a Git-like dataflow"
description: """
*DataKit* is a tool to orchestrate applications using a Git-like dataflow. It
revisits the UNIX pipeline concept, with a modern twist: streams of
tree-structured data instead of raw text. DataKit allows you to define
complex build pipelines over version-controlled data.

DataKit is currently used as the coordination
layer for [HyperKit](http://github.com/docker/hyperkit), the
hypervisor component of
[Docker for Mac and Windows](https://blog.docker.com/2016/03/docker-for-mac-windows-beta/), and
for the [DataKitCI][] continuous integration system."""
url {
  src:
    "https://github.com/moby/datakit/releases/download/0.12.0/datakit-0.12.0.tbz"
  checksum: "md5=3ac6e63eda6034507537c6439f0f8963"
}
