at master 635 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5}: 6 7buildDunePackage rec { 8 pname = "csv"; 9 version = "2.4"; 10 11 src = fetchurl { 12 url = "https://github.com/Chris00/ocaml-${pname}/releases/download/${version}/csv-${version}.tbz"; 13 sha256 = "13m9n8mdss6jfbiw7d5bybxn4n85vmg4zw7dc968qrgjfy0w9zhk"; 14 }; 15 16 preConfigure = '' 17 substituteInPlace src/dune --replace '(libraries bytes)' "" 18 ''; 19 20 duneVersion = "3"; 21 22 meta = { 23 description = "Pure OCaml library to read and write CSV files"; 24 license = lib.licenses.lgpl21; 25 maintainers = [ lib.maintainers.vbgl ]; 26 homepage = "https://github.com/Chris00/ocaml-csv"; 27 }; 28}