From 91df9eaefa371b9bb600f7d1387e6803b5e71904 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Fri, 17 Mar 2017 21:19:55 +1000 Subject: [PATCH] gnu: Add ocaml-csv. * gnu/packages/ocaml.scm (ocaml-csv): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f5001533ff..03c6433b24 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -1243,6 +1243,30 @@ (define-public ocaml-sqlite3 @code{ocaml-sqlite}.") (license license:expat))) +(define-public ocaml-csv + (package + (name "ocaml-csv") + (version "1.6") + (source + (origin + (method url-fetch) + (uri + (string-append + "http://github.com/Chris00/ocaml-csv/releases/download/" + version "/csv-" version ".tar.gz")) + (sha256 + (base32 + "0rv7x843vn6scxj87hzl01yqrl26rc27lr8s7z6rp9vs745g05zj")))) + (build-system ocaml-build-system) + (home-page "https://github.com/Chris00/ocaml-csv") + (synopsis "Pure OCaml functions to read and write CSV") + (description + "@dfn{Comma separated values} (CSV) is a simple tabular format supported +by all major spreadsheets. This library implements pure OCaml functions to +read and write files in this format as well as some convenience functions to +manipulate such data.") + (license (package-license camlp4)))) + (define-public ocaml-mtime (package (name "ocaml-mtime")