1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 wheel,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "oauth2-client";
12 version = "1.4.2";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-U4GQBEj/Gudi63xlxQEALqxGu1yi9JR3/f6vnplp8oQ=";
18 };
19
20 build-system = [
21 setuptools
22 wheel
23 ];
24
25 dependencies = [
26 requests
27 ];
28
29 pythonImportsCheck = [
30 "oauth2_client"
31 ];
32
33 meta = {
34 description = "Client library for OAuth2";
35 homepage = "https://pypi.org/project/oauth2-client/";
36 license = lib.licenses.asl20;
37 maintainers = with lib.maintainers; [ kranzes ];
38 };
39}