Something went wrong. Try again.
lol
Something went wrong. Try again.
1.7 kB · 80 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, setuptools, cachecontrol, cryptography, google-api-python-client, google-cloud-firestore, google-cloud-storage, h2, httpx, pyjwt, requests, respx, pytestCheckHook, pytest-asyncio, pytest-localserver, pytest-mock,}:
buildPythonPackage (finalAttrs: { pname = "firebase-admin"; version = "7.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "firebase"; repo = "firebase-admin-python"; tag = "v${finalAttrs.version}"; hash = "sha256-RaoBR9NVFdpIXuSVQScAySWpUOumV+flkfKMBGOFs6w="; };
build-system = [ setuptools ];
dependencies = [ cachecontrol cryptography google-api-python-client google-cloud-firestore google-cloud-storage httpx pyjwt requests ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-localserver pytest-mock h2 respx ];
__darwinAllowLocalNetworking = true;
disabledTests = [ # Flaky (AssertionError) # > assert delta <= timedelta(seconds=15) # E assert datetime.timedelta(seconds=17, microseconds=28239) <= datetime.timedelta(seconds=15) "test_task_options"
# Flaky / timing sensitive "test_expired_cookie_with_tolerance" "test_expired_token_with_tolerance" ];
meta = { description = "Firebase Admin Python SDK"; homepage = "https://github.com/firebase/firebase-admin-python"; changelog = "https://github.com/firebase/firebase-admin-python/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jhahn sarahec ]; };})