1{ stdenv, buildPythonPackage, fetchurl, six }:
2buildPythonPackage rec {
3 version = "1.1.2";
4 pname = "asgiref";
5 name = "${pname}-${version}";
6
7 src = fetchurl {
8 url = "mirror://pypi/a/asgiref/${name}.tar.gz";
9 sha256 = "8b46c3d6e2ad354d9da3cfb9873f9bd46fe1b768fbc11065275ba5430a46700c";
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}