python3Packages.aiohttp-oauthlib: init at 0.1.0

Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
Sumner Evans 2023-01-11 09:47:27 -07:00
parent 7eba3cd303
commit 08649f0192
No known key found for this signature in database
GPG key ID: 8904527AB50022FD
2 changed files with 42 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

@ -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 { };