2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
oauthlib,
|
|
|
|
aiohttp,
|
|
|
|
setuptools-scm,
|
2023-01-20 10:41:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|