python3Packages.pycurl: disable for py2

This commit is contained in:
Jonathan Ringer 2020-11-05 15:38:33 -08:00
parent c4e36c4f0f
commit baa855134f

View file

@ -1,6 +1,7 @@
{ buildPythonPackage
, isPyPy
, fetchPypi
, pythonOlder
, curl
, openssl
, bottle
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "pycurl";
version = "7.43.0.6";
disabled = isPyPy; # https://github.com/pycurl/pycurl/issues/208
disabled = isPyPy || (pythonOlder "3.5"); # https://github.com/pycurl/pycurl/issues/208
src = fetchPypi {
inherit pname version;