Skip to content

Commit

Permalink
pythonPackages.pyodbc: fix build (#46703)
Browse files Browse the repository at this point in the history
Build with unixODBC instead of libiodbc, see discussion in
mkleehammer/pyodbc#444

(cherry picked from commit 13c500a)
  • Loading branch information
xeji committed Sep 15, 2018
1 parent ce1cc9d commit a0ba8bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 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";
Expand All @@ -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";
Expand Down

0 comments on commit a0ba8bb

Please sign in to comment.