opam-version: "2.0" maintainer: "Christophe Troestler " authors: [ "Richard Jones" "Christophe Troestler" ] 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" tags: [ "database" "science" ] build: [ ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test} ["ocaml" "setup.ml" "-build"] {with-test} ["ocaml" "setup.ml" "-test"] {with-test} ["ocaml" "setup.ml" "-doc"] {with-doc} ] install: ["ocaml" "setup.ml" "-install"] remove: [ ["ocaml" "%{etc}%/csv/_oasis_remove_.ml" "%{etc}%/csv"] ] depends: [ "ocaml" {< "5.0.0"} "base-bytes" "ocamlfind" {build & >= "1.5"} "ocamlbuild" {build} ] 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. 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.""" url { src: "https://github.com/Chris00/ocaml-csv/releases/download/1.4.1/csv-1.4.1.tar.gz" checksum: [ "sha256=9f08e44984f167e90513e24e187e10e75a2d712fa76d8458e2915fbecf47539e" "md5=800e9220bd6876dcdde8a1c070507bab" ] } extra-source "csv.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/csv/csv.install.1.4.1" checksum: [ "sha256=5b010bcd931b45da20d8004cb55ee72cc8193b8b0fe12070896fbdb73a00517b" "md5=0d1b822c897681cf54b3e1aed52dda99" ] } extra-source "_oasis_remove_.ml" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/csv/_oasis_remove_.ml" checksum: [ "sha256=30bd6759edf0096e5353751a0603eaf693cb60ea7485aa9418e257dfdb97d916" "md5=6100ca146fa97d2196eb49a2631d0796" ] }