2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
asgiref, django, daphne
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "channels";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "3.0.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "f50a6e79757a64c1e45e95e144a2ac5f1e99ee44a0718ab182c501f5e5abd268";
|
2020-04-24 23:36:52 +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";
|
|
|
|
};
|
|
|
|
}
|