mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python39Packages.pyodbc: add import check
This commit is contained in:
parent
763f92278b
commit
455d2341ff
1 changed files with 3 additions and 1 deletions
|
@ -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