python3Packages.pytrends: disable python2

This commit is contained in:
Jonathan Ringer 2020-08-15 12:06:52 -07:00
parent b7be00ad5e
commit 898f945772
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, requests , requests
, lxml , lxml
, pandas , pandas
@ -9,6 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytrends"; pname = "pytrends";
version = "4.7.3"; version = "4.7.3";
disabled = isPy27; # python2 pandas is too old
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;