Merge pull request #74930 from jonringer/disable-gpapi

pythonPackages.gpapi: disable for python2
This commit is contained in:
Maximilian Bosch 2019-12-03 19:53:24 +01:00 committed by GitHub
commit a6bf4544ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;