Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 69 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ lib, buildPythonPackage, cachelib, cryptography, fetchFromGitHub, flask, flask-sqlalchemy, httpx, mock, pytest-asyncio, pytestCheckHook, python-multipart, requests, setuptools, starlette, werkzeug,}:
buildPythonPackage rec { pname = "authlib"; version = "1.6.9"; pyproject = true;
src = fetchFromGitHub { owner = "lepture"; repo = "authlib"; tag = "v${version}"; hash = "sha256-9H9DF3LmxzUv0M0fxYh6FLtdAA9FgRklceMlGdjlp+g="; };
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 ]; };}