blob: b236715a5d654d6550e855e00f9de1f7661ea17a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, libiodbc }:
buildPythonPackage rec {
pname = "pyodbc";
version = "4.0.21";
name = "${pname}-${version}";
disabled = isPyPy; # use pypypdbc instead
src = fetchPypi {
inherit pname version;
sha256 = "9655f84ca9e5cb2dfffff705601017420c840d55271ba62dd44f05383eff0329";
};
buildInputs = [ libiodbc ];
meta = with stdenv.lib; {
description = "Python ODBC module to connect to almost any database";
homepage = "https://github.com/mkleehammer/pyodbc";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ];
};
}
|