mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
ced21f5e1a
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`.
27 lines
698 B
Nix
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;
|
|
};
|
|
}
|