about summary refs log tree commit diff
path: root/pkgs/development/python-modules/channels/default.nix
blob: a589369210daab8495711c28cdc0ef6dcbc64d8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, buildPythonPackage, fetchurl,
  asgiref, django, daphne
}:
buildPythonPackage rec {
  name = "channels-${version}";
  version = "1.1.3";

  src = fetchurl {
    url = "mirror://pypi/c/channels/${name}.tar.gz";
    sha256 = "182war437i6wsxwf2v4szn8ig0nkpinpn4n27fxhh5q8w832hj93";
  };

  # 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;
  };
}