Files
nixpkgs/pkgs/development/python-modules/pynvim/default.nix
Michael Daniels eb833639c8 treewide: drop figsoda as maintainer (part 1)
s/maintainers = with lib.maintainers; [ figsoda ];/maintainers = with lib.maintainers; [ ];/
2025-11-02 20:16:11 -05:00

46 lines
946 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
msgpack,
isPyPy,
greenlet,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pynvim";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "neovim";
repo = "pynvim";
tag = version;
hash = "sha256-Wxn4g/lFelAJx0Zz2yaeXqX56xeOWUJNb2p8EiJgKE0=";
};
build-system = [ setuptools ];
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 = {
description = "Python client for Neovim";
homepage = "https://github.com/neovim/pynvim";
changelog = "https://github.com/neovim/pynvim/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = [ ];
};
}