Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
943 B · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchPypi, msgpack, greenlet, pythonOlder, isPyPy}:
buildPythonPackage rec { pname = "pynvim"; version = "0.4.3"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-OnlTeL3l6AkvvrOhqZvpxhPSaFVC8dsOXG/UZ+7Vbf8="; };
postPatch = '' substituteInPlace setup.py \ --replace " + pytest_runner" "" '';
propagatedBuildInputs = [ msgpack ] ++ lib.optionals (!isPyPy) [ greenlet ];
# Tests require pkgs.neovim which we cannot add because of circular dependency doCheck = false;
pythonImportsCheck = [ "pynvim" ];
meta = with lib; { description = "Python client for Neovim"; homepage = "https://github.com/neovim/pynvim"; changelog = "https://github.com/neovim/pynvim/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ figsoda ]; };}