pythonPackages.pyodbc: 3.0.7 -> 4.0.19

* fetchurl -> fetchPypi
* Update homepage (old page still works, but tells user to got to
  github).
This commit is contained in:
Bjørn Forsman 2017-10-29 11:10:26 +01:00
parent 2e44d576fd
commit 235a31b79f

View File

@ -17079,19 +17079,21 @@ in {
pyodbc = buildPythonPackage rec { pyodbc = buildPythonPackage rec {
name = "pyodbc-3.0.7"; pname = "pyodbc";
version = "4.0.19";
name = "${pname}-${version}";
disabled = isPyPy; # use pypypdbc instead disabled = isPyPy; # use pypypdbc instead
src = pkgs.fetchurl { src = fetchPypi {
url = "https://pyodbc.googlecode.com/files/${name}.zip"; inherit pname version;
sha256 = "0ldkm8xws91j7zbvpqb413hvdz8r66bslr451q3qc0xi8cnmydfq"; sha256 = "05mkaxbi9n02bpr3l0qnyfb3458f35hk71bq8jmadikp3h8al7dg";
}; };
buildInputs = with self; [ pkgs.libiodbc ]; buildInputs = with self; [ pkgs.libiodbc ];
meta = { meta = {
description = "Python ODBC module to connect to almost any database"; description = "Python ODBC module to connect to almost any database";
homepage = https://code.google.com/p/pyodbc/; homepage = "https://github.com/mkleehammer/pyodbc";
license = licenses.mit; license = licenses.mit;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ bjornfor ]; maintainers = with maintainers; [ bjornfor ];