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