Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 60 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, asgiref, buildPythonPackage, daphne, django, fetchFromGitHub, async-timeout, pytest-asyncio, pytest-django, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "channels"; version = "4.3.2"; pyproject = true;
src = fetchFromGitHub { owner = "django"; repo = "channels"; tag = version; hash = "sha256-KBjxaK2j9Xbz35IHqZK68cSLkUk4B7t+J7omcQAtuFM="; };
build-system = [ setuptools ];
dependencies = [ asgiref django ];
optional-dependencies = { daphne = [ daphne ]; };
nativeCheckInputs = [ async-timeout pytest-asyncio pytest-django pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies;
# won't run in sandbox disabledTestPaths = [ "tests/sample_project/tests/test_selenium.py" ];
pythonImportsCheck = [ "channels" ];
meta = { description = "Brings event-driven capabilities to Django with a channel system"; homepage = "https://github.com/django/channels"; changelog = "https://github.com/django/channels/blob/${src.tag}/CHANGELOG.txt"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; };}