1{ stdenv, buildPythonPackage, fetchurl, six }:
2buildPythonPackage rec {
3 version = "2.1.5";
4 pname = "asgiref";
5 name = "${pname}-${version}";
6
7 src = fetchurl {
8 url = "mirror://pypi/a/asgiref/${name}.tar.gz";
9 sha256 = "1a46196df28c67e046a54cc537ce5a8f6a59eb68649f54680d7e4fc3b113ab1b";
10 };
11
12 propagatedBuildInputs = [ six ];
13
14 meta = with stdenv.lib; {
15 description = "Reference ASGI adapters and channel layers";
16 license = licenses.bsd3;
17 homepage = https://github.com/django/asgiref;
18 };
19}