Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 70 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{ lib, buildPythonPackage, cachelib, cryptography, fetchFromGitHub, flask, flask-sqlalchemy, httpx, mock, pytest-asyncio, pytestCheckHook, pythonOlder, requests, setuptools, starlette, werkzeug,}:
buildPythonPackage rec { pname = "authlib"; version = "1.3.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "lepture"; repo = "authlib"; rev = "refs/tags/v${version}"; hash = "sha256-gaFnai5QzHhnyn73JB+QzybaolLWC9barBFdnlEMyMU="; };
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/v${version}/docs/changelog.rst"; license = licenses.bsd3; maintainers = with maintainers; [ flokli ]; };}