depot/third_party/nixpkgs/pkgs/development/ocaml-modules/sqlite3/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

25 lines
730 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
];
};
}