nixpkgs/pkgs/development/python-modules/authlib/default.nix
Martin Weinelt 1c86dfc644 python3Packages.authlib: 1.6.5 -> 1.6.6
https://github.com/lepture/authlib/blob/v1.6.6/docs/changelog.rst

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:16 +01:00

70 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
cacert,
cachelib,
cryptography,
fetchFromGitHub,
flask,
flask-sqlalchemy,
httpx,
mock,
pytest-asyncio,
pytestCheckHook,
python-multipart,
requests,
setuptools,
starlette,
werkzeug,
}:
buildPythonPackage rec {
pname = "authlib";
version = "1.6.6";
pyproject = true;
src = fetchFromGitHub {
owner = "lepture";
repo = "authlib";
tag = "v${version}";
hash = "sha256-ma1YGsp9AhQowGhyk445le7hoZOEnWtHKo9nD9db950=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
];
nativeCheckInputs = [
cachelib
flask
flask-sqlalchemy
httpx
mock
pytest-asyncio
pytestCheckHook
python-multipart
requests
starlette
werkzeug
];
pythonImportsCheck = [ "authlib" ];
disabledTestPaths = [
# Django tests require a running instance
"tests/django/"
"tests/clients/test_django/"
# Unsupported encryption algorithm
"tests/jose/test_chacha20.py"
];
meta = {
description = "Library for building OAuth and OpenID Connect servers";
homepage = "https://github.com/lepture/authlib";
changelog = "https://github.com/lepture/authlib/blob/${src.tag}/docs/changelog.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ flokli ];
};
}