opam-version: "2.0"
maintainer:   "Andreas Garnaes <andreas.garnaes@gmail.com>"
authors:      "Andreas Garnaes <andreas.garnaes@gmail.com>"
license:      "ISC"
homepage:     "https://github.com/mirage/irmin"
bug-reports:  "https://github.com/mirage/irmin/issues"
dev-repo:     "git+https://github.com/mirage/irmin.git"
doc:          "https://mirage.github.io/irmin/"

build: [
 ["dune" "subst"] {dev}
 ["dune" "build" "-p" name "-j" jobs]
 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

depends: [
  "ocaml"          {>= "4.03.0"}
  "dune"           {>= "2.7.0"}
  "irmin"          {= version}
  "graphql"        {>= "0.13.0"}
  "graphql-lwt"    {>= "0.13.0"}
  "graphql-cohttp" {>= "0.13.0"}
  "graphql_parser" {>= "0.13.0"}
  "cohttp-lwt"
  "cohttp"
  "fmt"
  "lwt"
  "alcotest-lwt"    {with-test & >= "1.1.0"}
  "yojson"          {with-test}
  "cohttp-lwt-unix" {with-test}
  "alcotest"        {with-test & >= "1.2.3"}
  "logs"            {with-test}
]


synopsis: "GraphQL server for Irmin"
x-commit-hash: "ec64b0d8c1ea50046e8b081da999c5c34016cd87"
url {
  src:
    "https://github.com/mirage/irmin/releases/download/2.5.0/irmin-2.5.0.tbz"
  checksum: [
    "sha256=6887afd5f00f865b2553179782493376b2cc3d4a894428a0d0106e234136c9b3"
    "sha512=b00362a4f59f91a6cf22cec7a1984e961ed2f22db20dc9743d25c2260ec9311edeb05ea10a3a2f45f841646e8728b22f7b1b21bd98b2d8d44bcbfd6e65453adb"
  ]
}
