23 lines
590 B
Nix
23 lines
590 B
Nix
{ stdenv, buildPythonPackage, fetchPypi,
|
|
asgiref, django, daphne
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "channels";
|
|
version = "2.1.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e13ba874d854ac493ece329dcd9947e82357c15437ac1a90ed1040d0e5b87aad";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|