1{ stdenv, buildPythonPackage, fetchPypi,
2 asgiref, django, daphne
3}:
4buildPythonPackage rec {
5 pname = "channels";
6 version = "2.4.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "08e756406d7165cb32f6fc3090c0643f41ca9f7e0f7fada0b31194662f20f414";
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}