nixpkgs-suyu/pkgs/development/python-modules/pyodbc/default.nix
R. RyanTM 682c59dee7 python37Packages.pyodbc: 4.0.26 -> 4.0.27
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-pyodbc/versions
2019-08-20 07:29:33 -07:00

24 lines
657 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unixODBC }:
buildPythonPackage rec {
pname = "pyodbc";
version = "4.0.27";
disabled = isPyPy; # use pypypdbc instead
src = fetchPypi {
inherit pname version;
sha256 = "1kd2i7hc1330cli72vawzby17c3039cqn1aba4i0zrjnpghjhmib";
};
buildInputs = [ unixODBC ];
doCheck = false; # tests require a database server
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.unix;
maintainers = with maintainers; [ bjornfor ];
};
}