Merge pull request #272418 from GaetanLepage/pynvim

python311Packages.pynvim: 0.4.3 -> 0.5.0
This commit is contained in:
OTABI Tomoya 2023-12-06 20:31:27 +09:00 committed by GitHub
commit ee38f7c44d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, setuptools
, msgpack
, greenlet
, pythonOlder
@ -9,14 +10,16 @@
buildPythonPackage rec {
pname = "pynvim";
version = "0.4.3";
format = "setuptools";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-OnlTeL3l6AkvvrOhqZvpxhPSaFVC8dsOXG/UZ+7Vbf8=";
src = fetchFromGitHub {
owner = "neovim";
repo = "pynvim";
rev = "refs/tags/${version}";
hash = "sha256-3LqgKENFzdfCjMlD6Xzv5W23yvIkNMUYo2+LlzKZ3cc=";
};
postPatch = ''
@ -24,6 +27,10 @@ buildPythonPackage rec {
--replace " + pytest_runner" ""
'';
buildInputs = [
setuptools
];
propagatedBuildInputs = [
msgpack
] ++ lib.optionals (!isPyPy) [