tis-neovim icon

Neovim

Silent install package for Neovim

0.11.3-0

  • package: tis-neovim
  • name: Neovim
  • version: 0.11.3-0
  • categories: Editor text
  • maintainer: WAPT Team,Tranquil IT
  • editor: Thiago de Arruda
  • licence: Apache-2.0 license
  • locale: all
  • target_os: windows
  • impacted_process: neovim,nvim
  • architecture: x64
  • signature_date:
  • size: 12.09 Mo
  • installed_size: 20.48 Ko
  • homepage : https://neovim.io/

package           : tis-neovim
version           : 0.11.3-0
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         : windows
min_wapt_version  : 2.0
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      : 92a5b886-04ea-4b65-a18b-1c6c9cef4305
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:01:04.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         : XTMr0RPymrfj+jA90BryShjiCe+y/SFhvG1i6JiJc/qBarjoeOmA0NCkXKt3ENpK0NT5L2046xopVmKjb8iVkSi1wYat5B8cJS1TpLgLHK31x2aaX/B0qUCghAvElEisVpz2QeGjS+/EPqfLK1cRyiYPe58Xhiizb/DxWBt30ewNHM8OC8D5RkgQMybz+2HeXgeybdk1a5Z5NwThZ7/LC0YneYqohH6EI6/EIuR+CT2Yv4oql+WtQzgA83mqGXjUbTC4DToYuZf56ZqU8te74LW3ijmlWSavYRuo/WIAv756uzh7iKjsRbfEdYYiOBdJn+Xy3nCjxokcaRz6X5lovA==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    for soft in installed_softwares('neovim'):
        if Version(soft['version']) < Version(control.get_software_version()):
            run(uninstall_cmd(soft['key']))
    # Declaring local variables
    bin_name = glob.glob("*.msi")[0]

    # Installing the package
    print("Installing: %s" % bin_name)
    install_msi_if_needed(
        bin_name
    )

# -*- 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('.msi') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break


    for f in glob.glob('*.msi'):
        if get_version_from_binary(f) < version :
            remove_file(f)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Checking version from file
        version = get_version_from_binary(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)))
        result = True
        control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
        # control.set_software_version(Version(version))
        control.save_control_to_wapt()

    # Validating update-package-sources
    return result

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
db211b88c5da774aad72a56bd000eb390944e926650f1f9119cb476c71df6162 : WAPT/control
cb633c7ce6b02da54b5003c11744060484cbfc577e699310c6040bace482b962 : WAPT/icon.png
311cfbe053569f19dc1f8efb5dfed5f8a79a7b855181c17dc549bcfbb6b4aa6e : luti.json
f5cddc6cd76eb50c1d12cb88c8dfd16fac49ecf06365758a9f4fca2fd5023e13 : nvim-win64.msi
936f466893dfdab56608b88ca6e90fab2b584c9073339c279fe1bcfbfef503a1 : setup.py
a41fb8535c2dfc93ea95a6dc50e10fe007a35882e96df946e5ccdd292569d93f : update_package.py