Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 610 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, 2 asgiref, django, daphne 3}: 4buildPythonPackage rec { 5 pname = "channels"; 6 name = "${pname}-${version}"; 7 version = "1.1.8"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0gsy3hwn1vd709jkw8ay44qrm6aw7qggr312z8xwzq0x4ihjda02"; 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}