nixpkgs/pkgs/applications/editors/neovim/neovim-remote.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

27 lines
698 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages }:
with stdenv.lib;
pythonPackages.buildPythonPackage rec {
pname = "neovim-remote";
version = "2.0.5";
disabled = !pythonPackages.isPy3k;
src = fetchFromGitHub {
owner = "mhinz";
repo = "neovim-remote";
rev = "v${version}";
sha256 = "08qsi61ba5d69ca77layypzvi7nalx4niy97xn4w88jibnbmbrxw";
};
propagatedBuildInputs = with pythonPackages; [ neovim psutil ];
meta = {
description = "A tool that helps controlling nvim processes from a terminal";
homepage = https://github.com/mhinz/neovim-remote/;
license = licenses.mit;
maintainers = with maintainers; [ edanaher ];
platforms = platforms.unix;
};
}