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