duckdb-ffi: Low-level bindings to the DuckDB C API

[ database, library, mpl ] [ Propose Tags ] [ Report a vulnerability ]

Haskell FFI bindings generated from the DuckDB 2.0.1 C APIs with hs-bindgen. The V2 bindings include unstable C declarations and require exactly DuckDB 2.0.1.

Downloads the verified DuckDB 2.0.1 release on supported Linux and macOS systems. Also accepts a native library supplied by the user or Nix.

Includes the complete pinned DuckDB V2 C API.

Flags

Manual Flags

NameDescriptionDefault
systemlib

Use an installed DuckDB library without downloading it.

Disabled
extension

Use the host V2 function table for a loadable extension.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.4.1, 1.4.1.1, 1.4.1.2, 1.4.1.3, 1.4.1.4, 1.4.1.5, 1.5.0.0, 1.5.3.0, 1.5.6.0, 2.0.0.0, 2.0.1.0
Change log CHANGELOG.md
Dependencies base (>=4.18 && <4.23), hs-bindgen-runtime (>=1.0.0.0 && <1.1) [details]
Tested with ghc ==9.10.3, ghc ==9.12.4, ghc ==9.14.1, ghc ==9.6.7, ghc ==9.8.4
License MPL-2.0
Author Matthias Pall Gissurarson
Maintainer mpg@mpg.is
Uploaded by tritlo at 2026-11-21T01:20:53Z
Category Database
Home page https://github.com/Tritlo/duckdb-haskell
Bug tracker https://github.com/Tritlo/duckdb-haskell/issues
Source repo head: git clone https://github.com/Tritlo/duckdb-haskell.git(duckdb-ffi)
Distributions
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 286 total (36 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]