mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 21:48:22 +00:00
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";
|
||||
sha256 = "sha256-m0Bs0DOJQtkadbKZKk88NHyBFJkjxXUsiWYciuRIJLU=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-list-type-metadata.patch";
|
||||
url = "https://github.com/duckdb/duckdb/commit/26d123fdc57273903573c72b1ddafc52f365e378.patch";
|
||||
sha256 = "sha256-ttqs5EjeSLhZQOXc43Y5/N5IYSESQTD1FZWV1uJ15Fo=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, duckdb
|
||||
, google-cloud-storage
|
||||
, mypy
|
||||
@ -13,10 +14,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "duckdb";
|
||||
inherit (duckdb) version src;
|
||||
inherit (duckdb) version src patches;
|
||||
format = "setuptools";
|
||||
|
||||
sourceRoot = "source/tools/pythonpkg";
|
||||
preConfigure = ''
|
||||
cd tools/pythonpkg
|
||||
'';
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
@ -45,6 +48,6 @@ buildPythonPackage rec {
|
||||
description = "Python binding for DuckDB";
|
||||
homepage = "https://duckdb.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
maintainers = with maintainers; [ costrouc cpcloud ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user