forked from mirrors/nixpkgs
python-pyodbc: new package
The pyodbc module enables python programs to connect to almost any database using ODBC. Build and "import pyodbc" tested, but I haven't tried connecting to any database yet.
This commit is contained in:
parent
e41456cebe
commit
30bb106aa9
|
@ -3800,6 +3800,26 @@ pythonPackages = python.modules // rec {
|
|||
};
|
||||
|
||||
|
||||
pyodbc = buildPythonPackage rec {
|
||||
name = "pyodbc-3.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pyodbc.googlecode.com/files/${name}.zip";
|
||||
sha256 = "0v9nymllw5zq5294rqp8ip3l0g6l3l3mljwhxn5jajyzxlnz39z5";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.unzip pkgs.libiodbc ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python ODBC module to connect to almost any database";
|
||||
homepage = https://code.google.com/p/pyodbc/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
pyparsing = buildPythonPackage rec {
|
||||
name = "pyparsing-1.5.6";
|
||||
|
||||
|
|
Loading…
Reference in a new issue