diff options
author | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-15 23:13:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-15 23:13:51 +0200 |
commit | 13c500ae165b3e3f3237667895099d498aef64bd (patch) | |
tree | c68c4211b0a08a7d5ebe2ef9fda8b71c01b098ac /pkgs/development/python-modules | |
parent | b1d9e87f7a2260ebe247827b3ba23f302feedfe9 (diff) | |
download | nixlib-13c500ae165b3e3f3237667895099d498aef64bd.tar nixlib-13c500ae165b3e3f3237667895099d498aef64bd.tar.gz nixlib-13c500ae165b3e3f3237667895099d498aef64bd.tar.bz2 nixlib-13c500ae165b3e3f3237667895099d498aef64bd.tar.lz nixlib-13c500ae165b3e3f3237667895099d498aef64bd.tar.xz nixlib-13c500ae165b3e3f3237667895099d498aef64bd.tar.zst nixlib-13c500ae165b3e3f3237667895099d498aef64bd.zip |
pythonPackages.pyodbc: fix build (#46703)
Build with unixODBC instead of libiodbc, see discussion in https://github.com/mkleehammer/pyodbc/issues/444
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pyodbc/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pyodbc/default.nix b/pkgs/development/python-modules/pyodbc/default.nix index b28c1a876479..45ba2a2e307e 100644 --- a/pkgs/development/python-modules/pyodbc/default.nix +++ b/pkgs/development/python-modules/pyodbc/default.nix @@ -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"; |