1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, oauthlib
6, aiohttp
7, setuptools-scm
8}:
9
10buildPythonPackage rec {
11 pname = "aiohttp-oauthlib";
12 version = "0.1.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-iTzRpZ3dDC5OmA46VE+XELfE/7nie0zQOLUf4dcDk7c=";
20 };
21
22 propagatedBuildInputs = [
23 oauthlib
24 aiohttp
25 ];
26
27 nativeBuildInputs = [
28 setuptools-scm
29 ];
30
31 # Package has no tests.
32 doCheck = false;
33
34 meta = with lib; {
35 homepage = "https://git.sr.ht/~whynothugo/aiohttp-oauthlib";
36 description = "oauthlib integration for aiohttp clients";
37 license = licenses.isc;
38 maintainers = with maintainers; [ sumnerevans ];
39 };
40}