Merge pull request #272418 from GaetanLepage/pynvim
python311Packages.pynvim: 0.4.3 -> 0.5.0
This commit is contained in:
commit
ee38f7c44d
1 changed files with 13 additions and 6 deletions
|
@ -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) [
|
||||
|
|
Loading…
Reference in a new issue