nixpkgs/pkgs/development/python-modules/pynvim/default.nix

40 lines
763 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, lib
, nose
, msgpack
, greenlet
, pythonOlder
, isPyPy
2019-11-16 09:25:24 +00:00
, pytestrunner
}:
buildPythonPackage rec {
pname = "pynvim";
2021-03-24 09:28:23 +00:00
version = "0.4.3";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
2021-04-10 05:08:38 +00:00
sha256 = "sha256-OnlTeL3l6AkvvrOhqZvpxhPSaFVC8dsOXG/UZ+7Vbf8=";
};
2019-11-16 09:25:24 +00:00
nativeBuildInputs = [
pytestrunner
];
# 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; [ ];
};
}