Unverified Commit 5675ad38 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #251435 from fabaff/gspread-bump

python311Packages.gspread: 5.9.0 -> 5.10.0
parents 1a8113c2 468cc6ff
Loading
Loading
Loading
Loading
+21 −10
Original line number Diff line number Diff line
{ 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=";
  };

  nativeBuildInputs = [
    flitBuildHook
  ];

  propagatedBuildInputs = [
    requests
    google-auth
    google-auth-oauthlib
    requests
  ];

  # No tests included
  doCheck = false;
  nativeCheckInputs = [
    pytest-vcr
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "gspread"