2021-01-15 22:18:51 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "csv";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Chris00/ocaml-${pname}/releases/download/${version}/csv-${version}.tbz";
|
|
|
|
sha256 = "13m9n8mdss6jfbiw7d5bybxn4n85vmg4zw7dc968qrgjfy0w9zhk";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace src/dune --replace '(libraries bytes)' ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
duneVersion = "3";
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Pure OCaml library to read and write CSV files";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
homepage = "https://github.com/Chris00/ocaml-csv";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|