python.pkgs.asgiref: disable for python < 3.5

wip/yesman
Robert Schütz 6 years ago
parent 3819c542ba
commit b1e7c4ca25
  1. 4
      pkgs/development/python-modules/asgiref/default.nix

@ -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";

Loading…
Cancel
Save