mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
2a00e53bda
These python version are all end-of-life and the depndency on trollius can be dropped.
40 lines
763 B
Nix
40 lines
763 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, nose
|
|
, msgpack
|
|
, greenlet
|
|
, pythonOlder
|
|
, isPyPy
|
|
, pytestrunner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynvim";
|
|
version = "0.4.3";
|
|
disabled = pythonOlder "3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-OnlTeL3l6AkvvrOhqZvpxhPSaFVC8dsOXG/UZ+7Vbf8=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|