python.pkgs.asgiref: disable for python < 3.5
This commit is contained in:
parent
3819c542ba
commit
b1e7c4ca25
|
@ -1,8 +1,10 @@
|
||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
|
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.3.2";
|
version = "2.3.2";
|
||||||
pname = "asgiref";
|
pname = "asgiref";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
# PyPI tarball doesn't include tests directory
|
# PyPI tarball doesn't include tests directory
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "django";
|
owner = "django";
|
||||||
|
|
Loading…
Reference in New Issue