@@ -2140,6 +2140,27 @@ in modules // {
21402140 };
21412141 };
21422142
2143+ channels = buildPythonPackage rec {
2144+ name = "channels-${version}";
2145+ version = "0.17.2";
2146+
2147+ src = pkgs.fetchurl {
2148+ url = "mirror://pypi/c/channels/${name}.tar.gz";
2149+ sha256 = "1a7fzm25sm3qqgxf7j3hml2lkipvf0yapdg4rkk7x3m11zm0xgv9";
2150+ };
2151+
2152+ # Files are missing in the distribution
2153+ doCheck = false;
2154+
2155+ propagatedBuildInputs = with self ; [ asgiref django daphne ];
2156+
2157+ meta = {
2158+ description = "Brings event-driven capabilities to Django with a channel system";
2159+ license = licenses.bsd3;
2160+ homepage = https://github.com/django/channels;
2161+ };
2162+ };
2163+
21432164 circus = buildPythonPackage rec {
21442165 name = "circus-0.11.1";
21452166