pythonPackages.duckdb: cleanup, add import check
This commit is contained in:
parent
8c80c1e762
commit
f14aa7ae8c
@ -6,7 +6,7 @@
|
|||||||
, pybind11
|
, pybind11
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -31,18 +31,10 @@ buildPythonPackage rec {
|
|||||||
pytestrunner
|
pytestrunner
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
propagatedBuildInputs = [ numpy pandas ];
|
||||||
pytest
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
checkInputs = [ pytestCheckHook ];
|
||||||
numpy
|
pythonImportsCheck = [ "duckdb" ];
|
||||||
pandas
|
|
||||||
];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "DuckDB is an embeddable SQL OLAP Database Management System";
|
description = "DuckDB is an embeddable SQL OLAP Database Management System";
|
||||||
|
Loading…
Reference in New Issue
Block a user