pythonPackages.astral: disable for python2

```
  Processing ./astral-2.2-py2-none-any.whl
  ERROR: Package 'astral' requires a different Python: 2.7.18 not in '>=3.6'
```
This commit is contained in:
Jonathan Ringer 2020-06-16 13:30:52 -07:00
parent 9ef6349dcd
commit d5ca07e160

View File

@ -1,8 +1,9 @@
{ stdenv, buildPythonPackage, fetchPypi, pytz, requests, pytest }:
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytz, requests, pytest }:
buildPythonPackage rec {
pname = "astral";
version = "2.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;