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