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