075e8c2c4f
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
48 lines
899 B
Nix
48 lines
899 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flit-core,
|
|
google-auth,
|
|
google-auth-oauthlib,
|
|
pytest-vcr,
|
|
pytestCheckHook,
|
|
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
|
|
pytestCheckHook
|
|
];
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|