opam-version: "2.0"
maintainer: "Christophe.Troestler@umons.ac.be"
authors: [
  "Richard Jones"
  "Christophe Troestler"
]
homepage: "https://forge.ocamlcore.org/projects/csv/"
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
tags: [
  "database"
  "science"
]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: [["ocamlfind" "remove" "csv"]]
depends: [
  "ocaml" {< "4.06.0"}
  "ocamlfind"
  "ocamlbuild" {build}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "A pure OCaml library to read and write CSV files."
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. The library comes with a handy command
line tool called csvtool for handling CSV files from shell scripts."""
flags: light-uninstall
extra-files: ["csv.install" "md5=32f2e83491f3337ed73738e2330b40ea"]
url {
  src: "https://download.ocamlcore.org/csv/csv/1.2.6/csv-1.2.6.tar.gz"
  checksum: "md5=7530b3870048355aa73f35689ca3d918"
}
