ocamlPackages.csv: use Dune 2

This commit is contained in:
Vincent Laporte 2020-12-28 18:12:43 +01:00 committed by Vincent Laporte
parent 7a6d819fd2
commit b8087628db
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "csv";
version = "2.4";
useDune2 = true;
src = fetchurl {
url = "https://github.com/Chris00/ocaml-${pname}/releases/download/${version}/csv-${version}.tbz";
sha256 = "13m9n8mdss6jfbiw7d5bybxn4n85vmg4zw7dc968qrgjfy0w9zhk";

View file

@ -6,7 +6,7 @@ else
buildDunePackage {
pname = "csv-lwt";
inherit (csv) src version meta;
inherit (csv) src version useDune2 meta;
propagatedBuildInputs = [ csv ocaml_lwt ];