Merge pull request #97113 from r-ryantm/auto-update/duckdb

duckdb: 0.1.8 -> 0.2.1
This commit is contained in:
Lassulus 2020-09-17 20:24:48 +02:00 committed by GitHub
commit 7992147d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "duckdb";
version = "0.1.8";
version = "0.2.1";
src = fetchFromGitHub {
owner = "cwida";
repo = "duckdb";
rev = "v${version}";
sha256 = "15qn967q9v23l0sgb2jqb77z4qdkyn1zwdpj4b0rd9zk5h3fzj55";
sha256 = "18l4qdzfm8k9ggn49r3h99cbcmmq01byzkxps3pvmq8q246hb55x";
};
nativeBuildInputs = [ cmake ];

View File

@ -13,6 +13,13 @@ buildPythonPackage rec {
pname = "duckdb";
inherit (duckdb) version src;
# build attempts to use git to figure out its own version. don't want to add
# the dependency for something pointless.
postPatch = ''
substituteInPlace scripts/package_build.py --replace \
"'git'" "'false'"
'';
postConfigure = ''
cd tools/pythonpkg
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}