Merge pull request #251435 from fabaff/gspread-bump

python311Packages.gspread: 5.9.0 -> 5.10.0
This commit is contained in:
Fabian Affolter 2023-08-25 23:27:52 +02:00 committed by GitHub
commit 5675ad3862
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,32 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, fetchFromGitHub
, flitBuildHook
, google-auth
, google-auth-oauthlib
, pytest-vcr
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "gspread";
version = "5.9.0";
format = "setuptools";
version = "5.10.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NLl4NLvvrM9ySXcCuuJtEvltBoXkmkGK/mqSqbvLnJw=";
src = fetchFromGitHub {
owner = "burnash";
repo = "gspread";
rev = "refs/tags/v${version}";
hash = "sha256-GAlQYQVuwsnkXqZOvG66f9kig+m392CVlrgUTqrTKyA=";
};
propagatedBuildInputs = [
requests
google-auth
google-auth-oauthlib
nativeBuildInputs = [
flitBuildHook
];
# No tests included
doCheck = false;
propagatedBuildInputs = [
google-auth
google-auth-oauthlib
requests
];
nativeCheckInputs = [
pytest-vcr
pytestCheckHook
];
pythonImportsCheck = [
"gspread"