Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 19 lines 536 B view raw
1{ stdenv, buildPythonPackage, fetchurl, six, async-timeout }: 2buildPythonPackage rec { 3 version = "2.2.0"; 4 pname = "asgiref"; 5 name = "${pname}-${version}"; 6 7 src = fetchurl { 8 url = "mirror://pypi/a/asgiref/${name}.tar.gz"; 9 sha256 = "1fmrd749hqxwicnivvgrcw812gbj2zm49zcnkghh9yxbkjfcvxcv"; 10 }; 11 12 propagatedBuildInputs = [ six async-timeout ]; 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}