mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 16:46:09 +00:00
5811d272a3
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
25 lines
657 B
Nix
25 lines
657 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unixODBC }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyodbc";
|
|
version = "4.0.26";
|
|
disabled = isPyPy; # use pypypdbc instead
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1qrxnf7ji5hml7z4y669k4wmk3iz2pcsr05bnn1n912asash09z5";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|