duckdb-ffi: Low-level bindings to the DuckDB C API
Haskell FFI bindings generated from the DuckDB 2.0 C APIs with hs-bindgen. The retained API supports DuckDB 2.0.x releases. The V2 API requires exactly DuckDB 2.0.0, because upstream marks it as unstable.
Downloads the verified DuckDB 2.0.0 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
| Name | Description | Default |
|---|---|---|
| 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
- duckdb-ffi-2.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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-18T22:25:44Z |
| 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] |