2017-09-25 23:51:54 -07:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-02-20 07:31:01 -08:00
|
|
|
asgiref, django, daphne
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 02:25:35 -07:00
|
|
|
pname = "channels";
|
2018-08-24 22:43:49 -07:00
|
|
|
version = "2.1.3";
|
2017-02-20 07:31:01 -08:00
|
|
|
|
2017-09-25 23:51:54 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-24 22:43:49 -07:00
|
|
|
sha256 = "8d503d18b92cef488ba68808a2205e055d29a6a1abae92d277f8f7a9c8752f13";
|
2017-02-20 07:31:01 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
# Files are missing in the distribution
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ asgiref django daphne ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Brings event-driven capabilities to Django with a channel system";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = https://github.com/django/channels;
|
|
|
|
};
|
|
|
|
}
|