mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
Merge pull request #210233 from sumnerevans/vdirsyncer-fix-google-storage-type
vdirsyncer: fix Google integration
This commit is contained in:
commit
4e7b6a7ddb
40
pkgs/development/python-modules/aiohttp-oauthlib/default.nix
Normal file
40
pkgs/development/python-modules/aiohttp-oauthlib/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 = [
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user