Files
nixpkgs/pkgs/development/ocaml-modules/sqlite3/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

36 lines
743 B
Nix

{
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
];
};
}