Merge pull request #97113 from r-ryantm/auto-update/duckdb
duckdb: 0.1.8 -> 0.2.1
This commit is contained in:
commit
7992147d87
|
@ -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 ];
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue