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