opam-version: "2.0"
maintainer: "Simon Fowler <simon.fowler@ed.ac.uk>"
authors: "The Links Team <links-dev@inf.ed.ac.uk>"
synopsis: "The Links Programming Language"
description: "Links is a functional programming language designed to make web programming easier."
homepage: "https://github.com/links-lang/links"
dev-repo: "git+https://github.com/links-lang/links.git"
bug-reports: "https://github.com/links-lang/links/issues"
license: "GPL-2"


build: [
  [ "dune" "subst" ] {pinned}
  [ "dune" "exec" "preinstall/preinstall.exe" "--" "-libdir" _:lib ]
  [ "dune" "build" "-p" name "-j" jobs ]
]

depends: [
  "ocaml" {>= "4.06.0" & < "4.12"}
  "dune" {>= "1.10.0"}
  "ppx_deriving"
  "ppx_deriving_yojson" {>= "3.3"}
  "base64"
  "linenoise"
  "ANSITerminal"
  "lwt" {>= "3.1.0"}
  "cohttp"
  "cohttp-lwt"
  "cohttp-lwt-unix"
  "conduit-lwt-unix"
  "uri"
  "websocket"
  "websocket-lwt-unix"
  "safepass"
  "result"
  "ocamlfind"
  "menhir"
]
url {
  src:
    "https://github.com/links-lang/links/releases/download/0.9.1/links-0.9.1.tbz"
  checksum: [
    "sha256=257ae57eb92b6fce793e01cd44706c60f30db17211f103aa124ac1fc157888ee"
    "sha512=14d4e910817b836389d7045060e80a1641ece35aed9cdd1e2a0ca92972386d6a1da1725fb662567a9cd5ffa0c4d4a64185531353450bb893d2b0efeed3129210"
  ]
}
