Files
nixpkgs/pkgs/development/python-modules/gspread/default.nix
T
Martin Weinelt 34a2fb0f5e python3Packages.gspread: pin to pytest 8.3
Tries to apply a mark fo a fixture, which is not allowed in pytest 9.
2026-02-01 17:41:08 +01:00

48 lines
905 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
google-auth,
google-auth-oauthlib,
pytest-vcr,
pytest8_3CheckHook,
strenum,
}:
buildPythonPackage rec {
pname = "gspread";
version = "6.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "burnash";
repo = "gspread";
tag = "v${version}";
hash = "sha256-j7UNti5N8c1mjw+1qTPIRCWJ6M4Ur0P9sG1uJnp170M=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [
google-auth
google-auth-oauthlib
strenum
];
nativeCheckInputs = [
pytest-vcr
pytest8_3CheckHook
];
pythonImportsCheck = [ "gspread" ];
meta = {
description = "Google Spreadsheets client library";
homepage = "https://github.com/burnash/gspread";
changelog = "https://github.com/burnash/gspread/blob/${src.tag}/HISTORY.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
}