2020-01-13 09:49:03 +01:00
|
|
|
{ lib, fetchurl, sqlite, pkgconfig, buildDunePackage }:
|
2010-12-11 16:05:26 +01:00
|
|
|
|
2020-01-13 09:49:03 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "sqlite3";
|
|
|
|
version = "5.0.1";
|
|
|
|
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";
|
|
|
|
sha256 = "0iymkszrs6qwak0vadfzc8yd8jfwn06zl08ggb4jr2mgk2c8mmsn";
|
2010-12-11 16:05:26 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
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; {
|
2014-11-11 21:06:40 +01: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
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|