ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyodbc / default.nix
blobe62417b2df3a98cbac4f849f69a4d5e7c2d07467
1 { lib, buildPythonPackage, fetchPypi, isPyPy, unixODBC }:
3 buildPythonPackage rec {
4   pname = "pyodbc";
5   version = "4.0.34";
6   disabled = isPyPy; # use pypypdbc instead
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "sha256-fqeGlTK5a41Smx8I6oV2X5TffkpY6Wiy+NRVNGoD5Fw=";
11   };
13   buildInputs = [ unixODBC ];
15   doCheck = false; # tests require a database server
17   pythonImportsCheck = [ "pyodbc" ];
19   meta = with lib; {
20     description = "Python ODBC module to connect to almost any database";
21     homepage = "https://github.com/mkleehammer/pyodbc";
22     license = licenses.mit;
23     platforms = platforms.unix;
24     maintainers = with maintainers; [ bjornfor ];
25   };