3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/neovim/default.nix
R. RyanTM 42e80edee3 python36Packages.neovim: 0.2.6 -> 0.3.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-neovim/versions
2018-11-08 20:50:50 -08:00

42 lines
803 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, nose
, msgpack
, greenlet
, trollius
, pythonOlder
, isPyPy
}:
buildPythonPackage rec {
pname = "neovim";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "18x7gi1idsch11hijvy0mm2mk4f42rapz9niax4rnak14x2klqq2";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
# Tests require pkgs.neovim,
# which we cannot add because of circular dependency.
doCheck = false;
propagatedBuildInputs = [ msgpack ]
++ lib.optional (!isPyPy) greenlet
++ lib.optional (pythonOlder "3.4") trollius;
meta = {
description = "Python client for Neovim";
homepage = "https://github.com/neovim/python-client";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ garbas ];
};
}