1{ lib, fetchurl, sqlite, pkg-config, buildDunePackage, dune-configurator }:
2
3buildDunePackage rec {
4 pname = "sqlite3";
5 version = "5.0.2";
6 useDune2 = true;
7 minimumOCamlVersion = "4.05";
8
9 src = fetchurl {
10 url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
11 sha256 = "0sba74n0jvzxibrclhbpqscil36yfw7i9jj9q562yhza6rax9p82";
12 };
13
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ dune-configurator sqlite ];
16
17 meta = with lib; {
18 homepage = "http://mmottl.github.io/sqlite3-ocaml/";
19 description = "OCaml bindings to the SQLite 3 database access library";
20 license = licenses.mit;
21 maintainers = with maintainers; [
22 maggesi vbgl
23 ];
24 };
25}