pythonpackages.pynvim: disble for python older 3.4

These python version are all end-of-life and the depndency on trollius
can be dropped.
This commit is contained in:
Markus S. Wamser 2021-04-30 09:38:42 +02:00
parent b8de584df4
commit 2a00e53bda

View file

@ -4,7 +4,6 @@
, nose , nose
, msgpack , msgpack
, greenlet , greenlet
, trollius ? null
, pythonOlder , pythonOlder
, isPyPy , isPyPy
, pytestrunner , pytestrunner
@ -13,6 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pynvim"; pname = "pynvim";
version = "0.4.3"; version = "0.4.3";
disabled = pythonOlder "3.4";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -28,8 +28,7 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
propagatedBuildInputs = [ msgpack ] propagatedBuildInputs = [ msgpack ]
++ lib.optional (!isPyPy) greenlet ++ lib.optional (!isPyPy) greenlet;
++ lib.optional (pythonOlder "3.4") trollius;
meta = { meta = {
description = "Python client for Neovim"; description = "Python client for Neovim";