ocamlPackages.sqlite3: disable for OCaml < 4.12 & use Dune 3
This commit is contained in:
parent
cad065dddd
commit
8c60553edf
2 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,8 @@ buildDunePackage {
|
||||||
pname = "caqti-driver-sqlite3";
|
pname = "caqti-driver-sqlite3";
|
||||||
inherit (caqti) version src;
|
inherit (caqti) version src;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ caqti ocaml_sqlite3 ];
|
propagatedBuildInputs = [ caqti ocaml_sqlite3 ];
|
||||||
|
|
||||||
meta = caqti.meta // {
|
meta = caqti.meta // {
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "sqlite3";
|
pname = "sqlite3";
|
||||||
version = "5.1.0";
|
version = "5.1.0";
|
||||||
useDune2 = true;
|
duneVersion = "3";
|
||||||
minimumOCamlVersion = "4.05";
|
minimalOCamlVersion = "4.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
|
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
|
||||||
sha256 = "sha256-uw23EWkajfok/insTstpEkRK2Q4PTER6+Jgx5tHf/qU=";
|
hash = "sha256-uw23EWkajfok/insTstpEkRK2Q4PTER6+Jgx5tHf/qU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
Loading…
Reference in a new issue