2017-09-26 07:51:54 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-02-20 15:31:01 +00:00
|
|
|
asgiref, django, daphne
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "channels";
|
|
|
|
name = "${pname}-${version}";
|
2017-09-26 07:51:54 +01:00
|
|
|
version = "1.1.8";
|
2017-02-20 15:31:01 +00:00
|
|
|
|
2017-09-26 07:51:54 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0gsy3hwn1vd709jkw8ay44qrm6aw7qggr312z8xwzq0x4ihjda02";
|
2017-02-20 15:31:01 +00: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;
|
|
|
|
};
|
|
|
|
}
|