diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/channels/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/channels/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/channels/default.nix b/nixpkgs/pkgs/development/python-modules/channels/default.nix new file mode 100644 index 000000000000..ef8456d376c6 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/channels/default.nix @@ -0,0 +1,23 @@ +{ 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; + }; +} |