2017-02-20 16:31:01 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl,
|
|
|
|
asgiref, django, daphne
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "channels-${version}";
|
2017-04-26 15:07:53 +02:00
|
|
|
version = "1.1.3";
|
2017-02-20 16:31:01 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/c/channels/${name}.tar.gz";
|
2017-04-26 15:07:53 +02:00
|
|
|
sha256 = "182war437i6wsxwf2v4szn8ig0nkpinpn4n27fxhh5q8w832hj93";
|
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;
|
|
|
|
};
|
|
|
|
}
|