2017-02-20 15:31:01 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl,
|
|
|
|
asgiref, django, daphne
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "channels";
|
|
|
|
name = "${pname}-${version}";
|
2017-07-03 19:19:57 +01:00
|
|
|
version = "1.1.6";
|
2017-02-20 15:31:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/c/channels/${name}.tar.gz";
|
2017-07-03 19:19:57 +01:00
|
|
|
sha256 = "44ab9a1f610ecc9ac25d5f90e7a44f49b18de28a05a26fe34e935af257f1eefe";
|
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;
|
|
|
|
};
|
|
|
|
}
|