mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
bc838edbdf
python311Packages.gspread: 6.1.0 -> 6.1.2
51 lines
986 B
Nix
51 lines
986 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
google-auth,
|
|
google-auth-oauthlib,
|
|
pytest-vcr,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
strenum,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gspread";
|
|
version = "6.1.2";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "burnash";
|
|
repo = "gspread";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-hvT4e1l3MTT3WMDSfKvZ7BU8dzkzgPROHrnx5mKyCR4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
propagatedBuildInputs = [
|
|
google-auth
|
|
google-auth-oauthlib
|
|
strenum
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-vcr
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "gspread" ];
|
|
|
|
meta = with lib; {
|
|
description = "Google Spreadsheets client library";
|
|
homepage = "https://github.com/burnash/gspread";
|
|
changelog = "https://github.com/burnash/gspread/blob/v${version}/HISTORY.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|