2021-04-08 16:26:57 +00:00
|
|
|
{ lib, fetchurl, sqlite, pkg-config, buildDunePackage, dune-configurator }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "sqlite3";
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "5.0.2";
|
2021-04-08 16:26:57 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
minimumOCamlVersion = "4.05";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
|
2020-10-27 00:29:36 +00:00
|
|
|
sha256 = "0sba74n0jvzxibrclhbpqscil36yfw7i9jj9q562yhza6rax9p82";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-04-08 16:26:57 +00:00
|
|
|
buildInputs = [ dune-configurator sqlite ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://mmottl.github.io/sqlite3-ocaml/";
|
|
|
|
description = "OCaml bindings to the SQLite 3 database access library";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
maggesi vbgl
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|