python.pkgs.asgiref: disable for python < 3.5

This commit is contained in:
Robert Schütz 2018-08-06 21:30:58 +02:00
parent 3819c542ba
commit b1e7c4ca25

View File

@ -1,8 +1,10 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
buildPythonPackage rec {
version = "2.3.2";
pname = "asgiref";
disabled = pythonOlder "3.5";
# PyPI tarball doesn't include tests directory
src = fetchFromGitHub {
owner = "django";