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

24 lines
590 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi,
asgiref, django, daphne
}:
buildPythonPackage rec {
pname = "channels";
2019-12-19 19:31:07 +00:00
version = "2.4.0";
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:07 +00:00
sha256 = "08e756406d7165cb32f6fc3090c0643f41ca9f7e0f7fada0b31194662f20f414";
};
# 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;
};
}