duckdb: 0.3.4 -> 0.4.0

This commit is contained in:
Phillip Cloud
2022-06-21 12:15:03 -05:00
parent 0105d57371
commit 78d4dc2639
+12 -3
View File
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, ninja
, openssl
@@ -16,16 +17,23 @@ let
in
stdenv.mkDerivation rec {
pname = "duckdb";
version = "0.3.4";
version = "0.4.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-2PBc5qe2md87u2nvMTx/XZVzLsr8QrvUkw46/6VTlGs=";
sha256 = "sha256-pQ/t26dv9ZWLl0MHcAn0sgxryW2T2hM8XyOkXyfC5CY=";
};
patches = [ ./version.patch ];
patches = [
./version.patch
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/duckdb/duckdb/pull/3927.patch";
sha256 = "sha256-m0Bs0DOJQtkadbKZKk88NHyBFJkjxXUsiWYciuRIJLU=";
})
];
postPatch = ''
substituteInPlace CMakeLists.txt --subst-var-by DUCKDB_VERSION "v${version}"
'';
@@ -62,6 +70,7 @@ stdenv.mkDerivation rec {
"test/common/test_cast_hugeint.test"
"test/sql/copy/csv/test_csv_remote.test"
"test/sql/copy/parquet/test_parquet_remote.test"
"test/sql/copy/parquet/test_parquet_remote_foreign_files.test"
] ++ lib.optionals stdenv.isAarch64 [
"test/sql/aggregate/aggregates/test_kurtosis.test"
"test/sql/aggregate/aggregates/test_skewness.test"