pythonPackages.astor: disable for python2

The setup.py is no longer valid with setuptools>=41.4.0
This commit is contained in:
Jonathan Ringer 2019-10-17 15:54:18 -07:00 committed by Frederik Rietdijk
parent 4ba99e2361
commit ded0a4b6c0

View file

@ -1,8 +1,9 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytest }:
buildPythonPackage rec {
pname = "astor";
version = "0.8.0";
disabled = isPy27; # setup.py is no longer valid with setuptools>=41.4
src = fetchPypi {
inherit pname version;