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:
parent
9ef6349dcd
commit
d5ca07e160
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user