Merge pull request #210233 from sumnerevans/vdirsyncer-fix-google-storage-type

vdirsyncer: fix Google integration
This commit is contained in:
Mario Rodas 2023-01-13 19:01:49 -05:00 committed by GitHub
commit 4e7b6a7ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, oauthlib
, aiohttp
, setuptools-scm
}:
buildPythonPackage rec {
pname = "aiohttp-oauthlib";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-iTzRpZ3dDC5OmA46VE+XELfE/7nie0zQOLUf4dcDk7c=";
};
propagatedBuildInputs = [
oauthlib
aiohttp
];
nativeBuildInputs = [
setuptools-scm
];
# Package has no tests.
doCheck = false;
meta = with lib; {
homepage = "https://git.sr.ht/~whynothugo/aiohttp-oauthlib";
description = "oauthlib integration for aiohttp clients";
license = licenses.isc;
maintainers = with maintainers; [ sumnerevans ];
};
}

View File

@ -13,6 +13,7 @@
, pytest-subtesthack
, setuptools-scm
, aiostream
, aiohttp-oauthlib
, aiohttp
, pytest-asyncio
, trustme
@ -49,6 +50,7 @@ buildPythonPackage rec {
requests-toolbelt
aiostream
aiohttp
aiohttp-oauthlib
];
nativeBuildInputs = [

View File

@ -198,6 +198,8 @@ self: super: with self; {
aiohttp-jinja2 = callPackage ../development/python-modules/aiohttp-jinja2 { };
aiohttp-oauthlib = callPackage ../development/python-modules/aiohttp-oauthlib { };
aiohttp-openmetrics = callPackage ../development/python-modules/aiohttp-openmetrics { };
aiohttp-remotes = callPackage ../development/python-modules/aiohttp-remotes { };