15 buildPythonPackage rec {
16 pname = "duckdb-engine";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
23 repo = "duckdb_engine";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-yW1gaZ0B6JNX98KzAxf146goniNmWnkMUmJRrScot1w=";
29 patches = [ ./remote_data.patch ];
35 propagatedBuildInputs = [
41 export HOME="$(mktemp -d)"
45 # this test tries to download the httpfs extension
46 "test_preload_extension"
48 # test should be skipped based on sqlalchemy version but isn't and fails
50 # rowcount no longer generates an attribute error.
58 # TODO(cpcloud): include pandas here when it supports sqlalchemy 2.0
63 pythonImportsCheck = [
68 description = "SQLAlchemy driver for duckdb";
69 homepage = "https://github.com/Mause/duckdb_engine";
70 changelog = "https://github.com/Mause/duckdb_engine/blob/v${version}/CHANGELOG.md";
71 license = licenses.mit;
72 maintainers = with maintainers; [ cpcloud ];