duckdb: add patch to fix list type inference (#178886)
This commit is contained in:
parent
4c35729086
commit
a034fd5235
|
@ -33,6 +33,11 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://github.com/duckdb/duckdb/commit/82e13a4bb9f0683af6c52468af2fb903cce4286d.patch";
|
url = "https://github.com/duckdb/duckdb/commit/82e13a4bb9f0683af6c52468af2fb903cce4286d.patch";
|
||||||
sha256 = "sha256-m0Bs0DOJQtkadbKZKk88NHyBFJkjxXUsiWYciuRIJLU=";
|
sha256 = "sha256-m0Bs0DOJQtkadbKZKk88NHyBFJkjxXUsiWYciuRIJLU=";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-list-type-metadata.patch";
|
||||||
|
url = "https://github.com/duckdb/duckdb/commit/26d123fdc57273903573c72b1ddafc52f365e378.patch";
|
||||||
|
sha256 = "sha256-ttqs5EjeSLhZQOXc43Y5/N5IYSESQTD1FZWV1uJ15Fo=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, fetchpatch
|
||||||
, duckdb
|
, duckdb
|
||||||
, google-cloud-storage
|
, google-cloud-storage
|
||||||
, mypy
|
, mypy
|
||||||
|
@ -13,10 +14,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "duckdb";
|
pname = "duckdb";
|
||||||
inherit (duckdb) version src;
|
inherit (duckdb) version src patches;
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
sourceRoot = "source/tools/pythonpkg";
|
preConfigure = ''
|
||||||
|
cd tools/pythonpkg
|
||||||
|
'';
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
||||||
|
@ -45,6 +48,6 @@ buildPythonPackage rec {
|
||||||
description = "Python binding for DuckDB";
|
description = "Python binding for DuckDB";
|
||||||
homepage = "https://duckdb.org/";
|
homepage = "https://duckdb.org/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ costrouc ];
|
maintainers = with maintainers; [ costrouc cpcloud ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue