summary refs log tree commit diff
path: root/pkgs/development/python-modules/asgiref/default.nix
blob: f40adc91b4bc17783d438b4c3d554d72a8bcad07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, buildPythonPackage, fetchurl, six, async-timeout }:
buildPythonPackage rec {
  version = "2.2.0";
  pname = "asgiref";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "mirror://pypi/a/asgiref/${name}.tar.gz";
    sha256 = "1fmrd749hqxwicnivvgrcw812gbj2zm49zcnkghh9yxbkjfcvxcv";
  };

  propagatedBuildInputs = [ six async-timeout ];

  meta = with stdenv.lib; {
    description = "Reference ASGI adapters and channel layers";
    license = licenses.bsd3;
    homepage = https://github.com/django/asgiref;
  };
}