pythonPackages.neovim-0.3.0 -> pythonPackages.pynvim-0.3.1
This commit is contained in:
41
pkgs/development/python-modules/pynvim/default.nix
Normal file
41
pkgs/development/python-modules/pynvim/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, nose
|
||||
, msgpack
|
||||
, greenlet
|
||||
, trollius
|
||||
, pythonOlder
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynvim";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yxh8zdigzs330m4gchxk6m323glz81x85q5fzgc4saq0naib26x";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user