18 buildPythonPackage rec {
21 format = "setuptools";
23 disabled = pythonOlder "3.7";
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-K6u590poZ9C3Uzi3a8k8aXMeSeRgn91e+p2PWYno3Y8=";
32 propagatedBuildInputs = [
49 pythonImportsCheck = [
54 # Django tests require a running instance
56 "tests/clients/test_django/"
57 # Unsupported encryption algorithm
58 "tests/jose/test_chacha20.py"
62 description = "Library for building OAuth and OpenID Connect servers";
63 homepage = "https://github.com/lepture/authlib";
64 changelog = "https://github.com/lepture/authlib/blob/v${version}/docs/changelog.rst";
65 license = licenses.bsd3;
66 maintainers = with maintainers; [ flokli ];