opam-version: "2.0"
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
authors: [ "Richard Jones"
           "Christophe Troestler" ]
tags: [ "csv" "database" "science"  ]
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
homepage: "https://github.com/Chris00/ocaml-csv"
dev-repo: "git+https://github.com/Chris00/ocaml-csv.git"
bug-reports: "https://github.com/Chris00/ocaml-csv/issues"
doc: "https://Chris00.github.io/ocaml-csv/doc"
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
  "ocaml" {>= "4.03.0"}
  "csv" {= "2.1"}
  "dune"
  "base-bytes"
  "base-unix"
  "lwt"
]
synopsis: "A pure OCaml library to read and write CSV files, LWT version."
description: """
This is a pure OCaml library to read and write CSV files, including
all extensions used by Excel — e.g. quotes, newlines, 8 bit characters
in fields, \\"0 etc. A special representation of rows of CSV files with
a header is provided. The library comes with a handy command line tool
called csvtool for handling CSV files from shell scripts.  This
version can be used with the monadic concurrency library LWT."""
url {
  src:
    "https://github.com/Chris00/ocaml-csv/releases/download/2.1/csv-2.1.tbz"
  checksum: "md5=de280eb23d436d3f04b99e4b7272c8b1"
}
