2021-01-25 08:26:54 +00:00
|
|
|
{ lib, 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";
|
2021-01-01 15:22:47 +00:00
|
|
|
version = "3.0.3";
|
2017-02-20 15:31:01 +00:00
|
|
|
|
2017-09-26 07:51:54 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-01 15:22:47 +00:00
|
|
|
sha256 = "056b72e51080a517a0f33a0a30003e03833b551d75394d6636c885d4edb8188f";
|
2017-02-20 15:31:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Files are missing in the distribution
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ asgiref django daphne ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-02-20 15:31:01 +00:00
|
|
|
description = "Brings event-driven capabilities to Django with a channel system";
|
|
|
|
license = licenses.bsd3;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/django/channels";
|
2017-02-20 15:31:01 +00:00
|
|
|
};
|
|
|
|
}
|