10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7" || isPyPy; # use pypypdbc instead
18 inherit pname version;
19 hash = "sha256-OX/u5EVhplgL4IztvphkNoWVY/S7N49IIkZVyOmH6mA=";
23 unixODBC # for odbc_config
26 buildInputs = [ unixODBC ];
28 # Tests require a database server
31 pythonImportsCheck = [ "pyodbc" ];
34 description = "Python ODBC module to connect to almost any database";
35 homepage = "https://github.com/mkleehammer/pyodbc";
36 changelog = "https://github.com/mkleehammer/pyodbc/releases/tag/${version}";
37 license = licenses.mit;
38 platforms = platforms.unix;
39 maintainers = with maintainers; [ bjornfor ];