Merge pull request #215068 from vbgl/ocaml-sqlite3-fix
ocamlPackages.sqlite3: disable for OCaml < 4.12 & use Dune 3
This commit is contained in:
commit
469723aefc
2 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,8 @@ buildDunePackage {
|
|||
pname = "caqti-driver-sqlite3";
|
||||
inherit (caqti) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ caqti ocaml_sqlite3 ];
|
||||
|
||||
meta = caqti.meta // {
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
buildDunePackage rec {
|
||||
pname = "sqlite3";
|
||||
version = "5.1.0";
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "4.05";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.12";
|
||||
|
||||
src = fetchurl {
|
||||
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 ];
|
||||
|
|
Loading…
Reference in a new issue