pythonPackages.gpapi: disable for python2

Uses shutil.which(), which was added in 3.3
No longer supports python2
This commit is contained in:
Jonathan Ringer 2019-12-03 10:17:33 -08:00
parent ddf711c925
commit 98a411dde7

View file

@ -1,8 +1,13 @@
{ stdenv, buildPythonPackage, fetchPypi, requests, protobuf, pycryptodome }: { stdenv, buildPythonPackage, fetchPypi, pythonOlder
, requests
, protobuf
, pycryptodome
}:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.4.4"; version = "0.4.4";
pname = "gpapi"; pname = "gpapi";
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
src = fetchPypi { src = fetchPypi {
inherit version pname; inherit version pname;