nixpkgs/pkgs/development/ocaml-modules/csv/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
628 B
Nix
Raw Permalink Normal View History

{ lib, fetchurl, buildDunePackage }:
2017-07-12 18:24:54 +00:00
buildDunePackage rec {
pname = "csv";
version = "2.4";
src = fetchurl {
url = "https://github.com/Chris00/ocaml-${pname}/releases/download/${version}/csv-${version}.tbz";
sha256 = "13m9n8mdss6jfbiw7d5bybxn4n85vmg4zw7dc968qrgjfy0w9zhk";
};
preConfigure = ''
substituteInPlace src/dune --replace '(libraries bytes)' ""
'';
duneVersion = "3";
2021-05-25 06:29:50 +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";
};
}