Merge pull request from fabaff/bump-duckdb

duckdb: 0.2.2 -> 0.2.7
This commit is contained in:
Jörg Thalheim 2021-07-03 19:00:22 +01:00 committed by GitHub
commit f3fc8b9fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 9 deletions
pkgs/development
libraries/duckdb
python-modules/duckdb

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "duckdb"; pname = "duckdb";
version = "0.2.2"; version = "0.2.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cwida"; owner = "cwida";
repo = "duckdb"; repo = "duckdb";
rev = "v${version}"; rev = "v${version}";
sha256 = "1pzz2zjzpvji5am21vd9kjxj0pnxsjmrsfqrym9h2rk2mi7p2cx8"; sha256 = "0cnqq2n1424fqg7gfyvrwkk6nvjal2fm5n08xc8q28ynyhq4sfmj";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -5,7 +5,7 @@
, pandas , pandas
, pybind11 , pybind11
, setuptools-scm , setuptools-scm
, pytestrunner , pytest-runner
, pytestCheckHook , pytestCheckHook
}: }:
@ -28,18 +28,24 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
pybind11 pybind11
setuptools-scm setuptools-scm
pytestrunner pytest-runner
]; ];
propagatedBuildInputs = [ numpy pandas ]; propagatedBuildInputs = [
numpy
pandas
];
checkInputs = [
pytestCheckHook
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "duckdb" ]; pythonImportsCheck = [ "duckdb" ];
meta = with lib; { meta = with lib; {
description = "DuckDB is an embeddable SQL OLAP Database Management System"; description = "Python binding for DuckDB";
homepage = "https://pypi.python.org/pypi/duckdb"; homepage = "https://duckdb.org/";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }