- package: tis-neovim
- name: Neovim
- version: 0.11.3-2
- categories: Editor text
- maintainer: WAPT Team,Tranquil IT
- editor: Thiago de Arruda
- licence: Apache-2.0 license
- locale: all
- target_os: darwin
- impacted_process: neovim,nvim
- architecture: x64
- signature_date:
- size: 9.57 Mo
- installed_size: 20.48 Ko
- homepage : https://neovim.io/
package : tis-neovim
version : 0.11.3-2
architecture : x64
section : base
priority : optional
name : Neovim
categories : Editor text
maintainer : WAPT Team,Tranquil IT
description : Neovim is an extensible text editor based on Vim
depends :
conflicts :
maturity : PROD
locale : all
target_os : darwin
min_wapt_version : 2.3
sources : https://github.com/neovim/neovim
installed_size : 20480
impacted_process : neovim,nvim
description_fr : Neovim est un éditeur de texte extensible basé sur Vim.
description_pl : Neovim to rozszerzalny edytor tekstu oparty na Vimie."
description_de : Neovim ist ein erweiterbarer Texteditor basierend auf Vim."
description_es : Neovim es un editor de texto extensible basado en Vim."
description_pt : Neovim é um editor de texto extensível baseado em Vim."
description_it : Neovim è un editor di testo estensibile basato su Vim."
description_nl : Neovim is een uitbreidbare teksteditor gebaseerd op Vim."
description_ru : Neovim - это расширяемый текстовый редактор на основе Vim."
audit_schedule :
editor : Thiago de Arruda
keywords : editor
licence : Apache-2.0 license
homepage : https://neovim.io/
package_uuid : eb9412d9-59b0-4363-999d-a22b246b20e7
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : cb633c7ce6b02da54b5003c11744060484cbfc577e699310c6040bace482b962
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-07-17T22:02:10.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : sVX79ymHVE8nYUoG04T1nEXmZSw5PPhtl6n9Tquh+Vs+/9uWQwvskFu8JiAqUogWv6lM92H20+20SUKD6yI5d1MaqhCnHzl0wv+olFhNjUqZ9BlErUvbKq4KyIteSUEvVrQkeZWgKdq/HRJZVc9/M1bo3n6By/DssKA679u4TXTCuJlIn8+0XjKyy20m8RTOOS2fjaU+UpYIRcEKALO6L1aT1KHK2lBjltl52S6xIiE1vI5becWAjxSbMMPWHVYjBBqN8ntm8Dezrg1hMslfsmtZd+DnN05g4ICGAOGbGvoFGRQlAkMs/e+Yqu6a1x95gTVaXfM2swci+Cd5HnSjMw==
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
bin_path = makepath("/", "usr", "local", "bin")
def install():
# unzipping bin to /usr/bin
bin_name = glob.glob("*macos-x86_64.tar.gz")[0]
run(f"tar -xzvf {bin_name}")
print(f"copying nvim-macos-x86_64 to {bin_path}")
copytree2("nvim-macos-x86_64", bin_path)
# Creation symlink
symlink_path = f"{bin_path}/nv"
if isfile(symlink_path) or os.path.islink(symlink_path):
print("Symlink already exists, removing it")
os.remove(symlink_path)
print("create nv alias in path")
os.symlink(f"{bin_path}/nv", symlink_path)
def uninstall():
if isdir(f"{bin_path}/nvim-macos-x86_64"):
remove_tree(f"{bin_path}/nvim-macos-x86_64")
if isfile(f"{bin_path}/nv"):
remove_file(f"{bin_path}/nv")
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "neovim/neovim"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["name"].endswith('macos-x86_64.tar.gz') :
download_url = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
for f in glob.glob('*.gz'):
if get_version_from_binary(f) < version :
remove_file(f)
# Downloading latest binaries
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
88a8eaeddc78111f232f89c9df8f73d71e62f9366379407c89c5da5169324c1f : WAPT/control
cb633c7ce6b02da54b5003c11744060484cbfc577e699310c6040bace482b962 : WAPT/icon.png
639be4ad2b56b21e41f53e5507cc32991be0c216d25fe4f7b6a7afa0f2b0b522 : luti.json
6ea6a62a611fa6e515a92b1a327dadfd7826d5b3d2c514f1f5ef1de36c710e05 : nvim-macos-x86_64.tar.gz
60cf0cdd416ece10ec973923e53f8400faea7d30673ec35a0b4afe9de145a590 : setup.py
2daea6b65ece48946b76c763692463d6d2ef8550b5fbeb3c93697f15aeceb0ba : update_package.py