pythonPackages.duckdb: cleanup, add import check

This commit is contained in:
Sandro Jäckel 2021-02-15 23:53:04 +01:00
parent 8c80c1e762
commit f14aa7ae8c
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -6,7 +6,7 @@
, pybind11
, setuptools_scm
, pytestrunner
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
@ -31,18 +31,10 @@ buildPythonPackage rec {
pytestrunner
];
checkInputs = [
pytest
];
propagatedBuildInputs = [ numpy pandas ];
propagatedBuildInputs = [
numpy
pandas
];
checkPhase = ''
pytest
'';
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "duckdb" ];
meta = with lib; {
description = "DuckDB is an embeddable SQL OLAP Database Management System";