Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, cachelib, cryptography, fetchFromGitHub, flask, flask-sqlalchemy, httpx, mock, pytest-asyncio, pytestCheckHook, pythonOlder, requests, starlette, werkzeug}:
buildPythonPackage rec { pname = "authlib"; version = "1.3.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "lepture"; repo = "authlib"; rev = "refs/tags/v${version}"; hash = "sha256-XHzABjGpZN6ilYuBYyGF3Xy/+AT2DXick8/A4JkyWBA="; };
propagatedBuildInputs = [ cryptography requests ];
nativeCheckInputs = [ cachelib flask flask-sqlalchemy httpx mock pytest-asyncio pytestCheckHook 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 ]; };}