pythonPackages.gpapi: disable for python2
Uses shutil.which(), which was added in 3.3 No longer supports python2
This commit is contained in:
parent
ddf711c925
commit
98a411dde7
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue