mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python312Packages.pynvim: 0.5.0 -> 0.5.1 (#353309)
This commit is contained in:
commit
add39c7b8c
@ -4,44 +4,40 @@
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
msgpack,
|
||||
isPyPy,
|
||||
greenlet,
|
||||
pythonOlder,
|
||||
isPyPy,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynvim";
|
||||
version = "0.5.0";
|
||||
version = "0.5.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neovim";
|
||||
repo = "pynvim";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-3LqgKENFzdfCjMlD6Xzv5W23yvIkNMUYo2+LlzKZ3cc=";
|
||||
hash = "sha256-YVAWu+i2pElq8OhibSqh9ogk+xWDRCZT4niDF/oMnzY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace " + pytest_runner" ""
|
||||
'';
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ msgpack ] ++ lib.optionals (!isPyPy) [ greenlet ];
|
||||
dependencies =
|
||||
[ msgpack ]
|
||||
++ lib.optionals (!isPyPy) [ greenlet ] ++ lib.optionals (pythonOlder "3.12") [ typing-extensions ];
|
||||
|
||||
# Tests require pkgs.neovim which we cannot add because of circular dependency
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pynvim" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Python client for Neovim";
|
||||
homepage = "https://github.com/neovim/pynvim";
|
||||
changelog = "https://github.com/neovim/pynvim/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user