depot/third_party/nixpkgs/pkgs/development/ocaml-modules/sqlite3/default.nix

36 lines
759 B
Nix

{
lib,
fetchurl,
sqlite,
pkg-config,
buildDunePackage,
dune-configurator,
}:
buildDunePackage rec {
pname = "sqlite3";
version = "5.2.0";
duneVersion = "3";
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
hash = "sha256-lCKDpFT0sh91F/Lovj06MFlHeceKawR49LcLjKfJjLs=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
dune-configurator
sqlite
];
meta = with lib; {
homepage = "http://mmottl.github.io/sqlite3-ocaml/";
description = "OCaml bindings to the SQLite 3 database access library";
license = licenses.mit;
maintainers = with maintainers; [
maggesi
vbgl
];
};
}