2017-02-20 16:31:01 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl,
|
|
|
|
asgiref, django, daphne
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "channels";
|
|
|
|
name = "${pname}-${version}";
|
2017-06-19 13:43:19 +02:00
|
|
|
version = "1.1.5";
|
2017-02-20 16:31:01 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/c/channels/${name}.tar.gz";
|
2017-06-19 13:43:19 +02:00
|
|
|
sha256 = "a9005bcb6104d26a7f93d9cf012bcf6765a0ff444a449ac68d6e1f16721f8ed3";
|
2017-02-20 16:31:01 +01: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;
|
|
|
|
};
|
|
|
|
}
|