1 { lib, buildPythonPackage, fetchPypi, isPyPy, unixODBC }:
3 buildPythonPackage rec {
6 disabled = isPyPy; # use pypypdbc instead
10 sha256 = "sha256-fqeGlTK5a41Smx8I6oV2X5TffkpY6Wiy+NRVNGoD5Fw=";
13 buildInputs = [ unixODBC ];
15 doCheck = false; # tests require a database server
17 pythonImportsCheck = [ "pyodbc" ];
20 description = "Python ODBC module to connect to almost any database";
21 homepage = "https://github.com/mkleehammer/pyodbc";
22 license = licenses.mit;
23 platforms = platforms.unix;
24 maintainers = with maintainers; [ bjornfor ];