pythonPackages.pyodbc: fix build (#46703)

Build with unixODBC instead of libiodbc, see discussion in
https://github.com/mkleehammer/pyodbc/issues/444
This commit is contained in:
xeji 2018-09-15 23:13:51 +02:00 committed by GitHub
parent b1d9e87f7a
commit 13c500ae16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, libiodbc }:
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unixODBC }:
buildPythonPackage rec {
pname = "pyodbc";
@ -10,7 +10,9 @@ buildPythonPackage rec {
sha256 = "4326abb737dec36156998d52324921673d30f575e1e0998f0c5edd7de20e61d4";
};
buildInputs = [ libiodbc ];
buildInputs = [ unixODBC ];
doCheck = false; # tests require a database server
meta = with stdenv.lib; {
description = "Python ODBC module to connect to almost any database";