2021-01-11 12:49:15 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2017-07-12 18:24:54 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "csv";
|
2021-01-21 00:24:35 +00:00
|
|
|
version = "2.4";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2021-01-21 00:24:35 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Chris00/ocaml-${pname}/releases/download/${version}/csv-${version}.tbz";
|
|
|
|
sha256 = "13m9n8mdss6jfbiw7d5bybxn4n85vmg4zw7dc968qrgjfy0w9zhk";
|
|
|
|
};
|
2014-09-21 10:02:55 +00:00
|
|
|
|
2023-03-20 05:40:21 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace src/dune --replace '(libraries bytes)' ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
duneVersion = "3";
|
2021-05-25 06:29:50 +00:00
|
|
|
|
2021-01-21 00:24:35 +00:00
|
|
|
meta = {
|
|
|
|
description = "Pure OCaml library to read and write CSV files";
|
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
homepage = "https://github.com/Chris00/ocaml-csv";
|
|
|
|
};
|
2014-08-16 22:31:35 +00:00
|
|
|
}
|