1{ stdenv, buildPythonPackage, fetchPypi,
2 asgiref, django, daphne
3}:
4buildPythonPackage rec {
5 pname = "channels";
6 version = "2.2.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "af7cdba9efb3f55b939917d1b15defb5d40259936013e60660e5e9aff98db4c5";
11 };
12
13 # Files are missing in the distribution
14 doCheck = false;
15
16 propagatedBuildInputs = [ asgiref django daphne ];
17
18 meta = with stdenv.lib; {
19 description = "Brings event-driven capabilities to Django with a channel system";
20 license = licenses.bsd3;
21 homepage = https://github.com/django/channels;
22 };
23}