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 {
version = "0.4.4";
pname = "gpapi";
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
src = fetchPypi {
inherit version pname;