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";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "5.1.0";
|
2023-02-09 11:40:11 +00:00
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
|
2023-02-09 11:40:11 +00:00
|
|
|
hash = "sha256-uw23EWkajfok/insTstpEkRK2Q4PTER6+Jgx5tHf/qU=";
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|