nixpkgs-suyu/pkgs/development/python-modules/channels/default.nix

25 lines
622 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi,
asgiref, django, daphne
}:
buildPythonPackage rec {
pname = "channels";
name = "${pname}-${version}";
2018-06-12 18:46:59 +02:00
version = "2.1.1";
src = fetchPypi {
inherit pname version;
2018-06-12 18:46:59 +02:00
sha256 = "a3a454d6efe5b724e7c73b4d73ef743802dd011729b831e4afa867126f864299";
};
# 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;
};
}