2017-09-26 08:51:54 +02:00
|
|
|
{ stdenv, 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";
|
|
|
|
name = "${pname}-${version}";
|
2018-02-17 14:18:47 +01:00
|
|
|
version = "2.0.2";
|
2017-02-20 16:31:01 +01:00
|
|
|
|
2017-09-26 08:51:54 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 14:18:47 +01:00
|
|
|
sha256 = "5d41e0f2aa40f9755f36c2c1dd83748b6793732190d577922e06294a3b37fd92";
|
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;
|
|
|
|
};
|
|
|
|
}
|