python39Packages.pyodbc: add import check
This commit is contained in:
parent
763f92278b
commit
455d2341ff
|
@ -3,7 +3,7 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "pyodbc";
|
||||
version = "4.0.32";
|
||||
disabled = isPyPy; # use pypypdbc instead
|
||||
disabled = isPyPy; # use pypypdbc instead
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -14,6 +14,8 @@ buildPythonPackage rec {
|
|||
|
||||
doCheck = false; # tests require a database server
|
||||
|
||||
pythonImportsCheck = [ "pyodbc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python ODBC module to connect to almost any database";
|
||||
homepage = "https://github.com/mkleehammer/pyodbc";
|
||||
|
|
Loading…
Reference in a new issue