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/docker/datakit"
bug-reports:  "https://github.com/docker/datakit/issues"
dev-repo: "git+https://github.com/docker/datakit.git"
doc:          "https://docker.github.io/datakit/"

build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "cmdliner" {< "1.0.0"}
  "rresult"
  "astring"
  "fmt"
  "asetmap"
  "git" {>= "1.9.3"}
  "mirage-tc"
  "uri"
  "mirage-types" {< "3.0.0"}
  "irmin" {= "0.12.0"}
  "camlzip" {>= "1.06"}
  "cstruct" {>= "2.2"}
  "result"
  "lwt" {>= "2.7.0"}
  "conduit" {< "0.99"}
  "mirage-flow" {< "2.0.0"}
  "cohttp"
  "named-pipe" {>= "0.4.0"}
  "hvsock" {>= "0.8.1" & < "0.14.0"}
  "logs" {>= "0.5.0"}
  "win-eventlog"
  "asl" {>= "0.10"}
  "mtime" {< "1.0.0"}
  "irmin-watcher" {>= "0.2.0"}
  "prometheus-app"
  "datakit-server" {>= "0.9.0" & < "0.10.0"}
  "datakit-client" {with-test & >= "0.9.0" & < "0.10.0"}
  "datakit-github" {with-test & >= "0.9.0" & < "0.10.0"}
  "alcotest" {with-test & >= "0.7.0" & < "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/docker/datakit/releases/download/0.9.0/datakit-0.9.0.tbz"
  checksum: "md5=46e4fcd1e9c05e4587ae1663518a8c74"
}
