2017-09-26 06:51:54 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-02-20 15:31:01 +00:00
|
|
|
asgiref, django, daphne
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "channels";
|
2019-05-11 18:22:49 +00:00
|
|
|
version = "2.2.0";
|
2017-02-20 15:31:01 +00:00
|
|
|
|
2017-09-26 06:51:54 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-11 18:22:49 +00:00
|
|
|
sha256 = "af7cdba9efb3f55b939917d1b15defb5d40259936013e60660e5e9aff98db4c5";
|
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;
|
|
|
|
};
|
|
|
|
}
|