ocamlPackages.sqlite3: use Dune 2

This commit is contained in:
Vincent Laporte 2021-04-06 10:42:56 +02:00
parent c50e680b03
commit cf42b2eb0f
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,8 +1,9 @@
{ lib, fetchurl, sqlite, pkg-config, buildDunePackage }:
{ lib, fetchurl, sqlite, pkg-config, buildDunePackage, dune-configurator }:
buildDunePackage rec {
pname = "sqlite3";
version = "5.0.2";
useDune2 = true;
minimumOCamlVersion = "4.05";
src = fetchurl {
@ -11,7 +12,7 @@ buildDunePackage rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ sqlite ];
buildInputs = [ dune-configurator sqlite ];
meta = with lib; {
homepage = "http://mmottl.github.io/sqlite3-ocaml/";