blob: 290c9e5a105e197a68d5d30c0e3e9eaf6acb26af (
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
|
{
lib,
fetchurl,
sqlite,
pkg-config,
buildDunePackage,
dune-configurator,
}:
buildDunePackage (finalAttrs: {
pname = "sqlite3";
version = "5.4.2";
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${finalAttrs.version}/sqlite3-${finalAttrs.version}.tbz";
hash = "sha256-MvaPB49L6u1R68J5/vRhRSBf2Yz2x5/pVSGGAfICYhw=";
};
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
];
};
})
|