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"
build: [
  ["oasis" "setup"]
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "csv"]]
depends: [
  "ocaml" {< "4.03.0"}
  "ocamlfind"
  "oasis" {= "0.3.0"}
  "ocamlbuild" {build}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Library to read and write CSV files"
description: """
This library can read and write CSV files, including all extensions
used by Excel - eg. quotes, newlines, 8 bit characters in fields, "0
etc. The library comes with a handy command line tool called csvtool
for handling CSV files from shell scripts."""
flags: light-uninstall
url {
  src: "https://download.ocamlcore.org/csv/csv/1.2.2/csv-1.2.2.tar.gz"
  checksum: "md5=4b177e332719de1f9f5b16a31985d536"
}
