Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 71 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ lib, buildPythonPackage, cacert, cachelib, cryptography, fetchFromGitHub, flask, flask-sqlalchemy, httpx, mock, pytest-asyncio, pytestCheckHook, pythonOlder, requests, setuptools, starlette, werkzeug,}:
buildPythonPackage rec { pname = "authlib"; version = "1.6.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "lepture"; repo = "authlib"; tag = "v${version}"; hash = "sha256-USZc+IKcg0+aEG2ISx29jTwm8BBuzNqFoZLBpZ7K2DU="; };
build-system = [ setuptools ];
dependencies = [ cryptography ];
nativeCheckInputs = [ cachelib flask flask-sqlalchemy httpx mock pytest-asyncio pytestCheckHook 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 = with lib; { 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 = licenses.bsd3; maintainers = with maintainers; [ flokli ]; };}