25 lines
622 B
Nix
25 lines
622 B
Nix
{ stdenv, buildPythonPackage, fetchPypi,
|
|
asgiref, django, daphne
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "channels";
|
|
name = "${pname}-${version}";
|
|
version = "2.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c365492b90bd936c763e06cd76bda96cd3e70e5a5d2a196c25754e0c1d8da85a";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|