Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, setuptools, typing-extensions,}:
buildPythonPackage (finalAttrs: { version = "3.13.0"; pname = "asgiref"; pyproject = true;
src = fetchFromGitHub { owner = "django"; repo = "asgiref"; tag = finalAttrs.version; hash = "sha256-Qsg0PwD6XYZkcBIcnwEjPC+2fCro35MQyXMPWm64014="; };
build-system = [ setuptools ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio ];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "test_multiprocessing" ];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "asgiref" ];
meta = { changelog = "https://github.com/django/asgiref/blob/${finalAttrs.src.tag}/CHANGELOG.txt"; description = "Reference ASGI adapters and channel layers"; homepage = "https://github.com/django/asgiref"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ miniharinn ]; };})