2021-01-19 07:50:56 +01:00
|
|
|
{ lib, fetchurl, sqlite, pkg-config, buildDunePackage }:
|
2010-12-11 16:05:26 +01:00
|
|
|
|
2020-01-13 09:49:03 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "sqlite3";
|
2020-08-27 00:33:12 +02:00
|
|
|
version = "5.0.2";
|
2020-01-13 09:49:03 +01:00
|
|
|
minimumOCamlVersion = "4.05";
|
2010-12-11 16:05:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-01-13 09:49:03 +01:00
|
|
|
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
|
2020-08-27 00:33:12 +02:00
|
|
|
sha256 = "0sba74n0jvzxibrclhbpqscil36yfw7i9jj9q562yhza6rax9p82";
|
2010-12-11 16:05:26 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-01-13 09:49:03 +01:00
|
|
|
buildInputs = [ sqlite ];
|
2010-12-11 16:05:26 +01:00
|
|
|
|
2020-01-13 09:49:03 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://mmottl.github.io/sqlite3-ocaml/";
|
2010-12-11 16:05:26 +01:00
|
|
|
description = "OCaml bindings to the SQLite 3 database access library";
|
2014-11-11 21:06:40 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
2019-10-07 16:44:58 +02:00
|
|
|
maggesi vbgl
|
2010-12-11 16:05:26 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|