1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 00:19:25 +03:00
nixpkgs/pkgs/development/python-modules/pynvim/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
758 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, lib
, msgpack
, greenlet
, pythonOlder
, isPyPy
, pytest-runner
}:
buildPythonPackage rec {
pname = "pynvim";
2021-03-24 10:28:23 +01:00
version = "0.4.3";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
2021-04-09 22:08:38 -07:00
sha256 = "sha256-OnlTeL3l6AkvvrOhqZvpxhPSaFVC8dsOXG/UZ+7Vbf8=";
};
2019-11-16 11:25:24 +02:00
nativeBuildInputs = [
pytest-runner
2019-11-16 11:25:24 +02:00
];
# Tests require pkgs.neovim,
# which we cannot add because of circular dependency.
doCheck = false;
propagatedBuildInputs = [ msgpack ]
++ lib.optional (!isPyPy) greenlet;
meta = {
description = "Python client for Neovim";
homepage = "https://github.com/neovim/python-client";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
};
}