blob: 9c41bb616d47735fe87cbb1c26a1ef817037d50d (
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,
buildDunePackage,
ctypes,
mariadb,
libmysqlclient,
dune-configurator,
}:
buildDunePackage (finalAttrs: {
pname = "mariadb";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/ocaml-community/ocaml-mariadb/releases/download/${finalAttrs.version}/mariadb-${finalAttrs.version}.tbz";
hash = "sha256-MnsGPH4gAs401Y8/uvrvRx21stQSVrU9RYpC2T8TEcw=";
};
buildInputs = [
mariadb
libmysqlclient
dune-configurator
];
propagatedBuildInputs = [ ctypes ];
meta = {
description = "OCaml bindings for MariaDB";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcc32 ];
homepage = "https://github.com/ocaml-community/ocaml-mariadb";
};
})
|