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