blob: b7aaadbb3d943b6f46d4adecc5bbf0743f37fa65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
fetchurl,
sqlite,
pkg-config,
buildDunePackage,
dune-configurator,
}:
buildDunePackage rec {
pname = "sqlite3";
version = "5.3.1";
duneVersion = "3";
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
hash = "sha256-Ox8eZS4r6PbJh8nei52ftUyf25SKwIUMi5UEv4L+6mE=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
dune-configurator
sqlite
];
meta = {
homepage = "http://mmottl.github.io/sqlite3-ocaml/";
description = "OCaml bindings to the SQLite 3 database access library";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
vbgl
];
};
}
|