gnu: ocaml-csv: Update to 2.2.

* gnu/packages/ocaml.scm (ocaml-csv): Update to 2.2.
[source]: Use git-fetch.
[build-system]: Use dune-build-system.
This commit is contained in:
Julien Lepiller 2019-04-27 18:01:31 +02:00
parent f9caa17b63
commit e58d05c32e
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -1554,20 +1554,21 @@ (define-public ocaml-sqlite3
(define-public ocaml-csv
(package
(name "ocaml-csv")
(version "1.6")
(version "2.2")
(source
(origin
(method url-fetch)
(uri
(string-append
"https://github.com/Chris00/ocaml-csv/releases/download/"
version "/csv-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/Chris00/ocaml-csv")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0rv7x843vn6scxj87hzl01yqrl26rc27lr8s7z6rp9vs745g05zj"))))
(build-system ocaml-build-system)
(native-inputs
`(("ocamlbuild" ,ocamlbuild)))
"07qdw8bbvprk78x96pnm807rhs82ks6sxis1cf5nyng8b5nvm2mv"))))
(build-system dune-build-system)
(arguments
`(#:package "csv"
#:test-target "."))
(home-page "https://github.com/Chris00/ocaml-csv")
(synopsis "Pure OCaml functions to read and write CSV")
(description