mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
ocamlPackages.sqlite3: disable for OCaml < 4.12 & use Dune 3
This commit is contained in:
parent
cad065dddd
commit
8c60553edf
@ -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 New Issue
Block a user