- package: tis-nushell
- name: Nushell
- version: 0.105.0-1
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
- editor: The Nushell Project Developers
- licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
- locale: all
- target_os: windows
- impacted_process: nu
- architecture: x64
- signature_date:
- size: 43.88 Mo
- installed_size: 96.36 Mo
- homepage : https://www.nushell.sh/
package : tis-nushell
version : 0.105.0-1
architecture : x64
section : base
priority : optional
name : Nushell
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Ingrid TALBOT
description : Nushell is a new type of cross-platform shell
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://www.nushell.sh/
installed_size : 96362967
impacted_process : nu
description_fr : Nushell est un nouveau type de shell multiplateforme
description_pl : Nushell to nowy typ wieloplatformowej powłoki
description_de : Nushell ist eine neue Art von plattformübergreifender Shell
description_es : Nushell es un nuevo tipo de shell multiplataforma
description_pt : Nushell é um novo tipo de shell multiplataforma
description_it : Nushell è un nuovo tipo di shell multipiattaforma
description_nl : Nushell is een nieuw type cross-platform shell
description_ru : Nushell - это новый тип кроссплатформенной оболочки
audit_schedule :
editor : The Nushell Project Developers
keywords : shell,cross-platform
licence : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage : https://www.nushell.sh/
package_uuid : 9a759d60-e62b-4d2e-89ee-46e7b6fe6fb5
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 74a5a941013f8e4aa940b3098b3261869b38f06eb7beb04055c9b9a2341fa85c
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-06-16T07:17:01.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 : YqgYHcp8+unDKi88WcthtbZDnutAGUl9f3BgyK37z7p55JwngZ1DdzE5f5QoBkpDqHKWS404dXXN81rZxjYedak0KND53Ejk5TbDbPWQEzENc1IBbyZaoglb8F1+V9rDQnrP43gXizy58A2OFFoK4itYSIW7o0U2LLIQEWtzVGkQACSRV7MvJniawVTHSIqHO+W2JW0RhYsGhydSYPEhMr3hJC3wEuR2DCG0HkZzGdpMhT8nKPC4HEnoWRObhb0H/H1/A00HgN4125ZwO8QE2l+xxJwu+PXlu8lEE3+XA1mtoTS7DSnjTYFBqNSp9x5KPBFdhfC87xilocYZZiUnQQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
app_name = "nushell"
app_dir = makepath(systemdrive, programfiles, "nushell")
menu_shortcut = makepath(app_dir, "nu.exe")
def install():
if not isdir(app_dir):
zip_name = glob.glob("nu-*-x86_64-pc-windows-msvc.zip")[0]
mkdirs("nushell")
unzip_dest = "nushell"
unzipped_dir = "nushell"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
unzip(zip_name, unzip_dest)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
create_programs_menu_shortcut("nushell", menu_shortcut)
def uninstall():
print("Désinstallation de nushell")
killalltasks(ensure_list(control.impacted_process))
remove_tree(app_dir)
remove_programs_menu_shortcut("nushell")
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
api_url = "https://api.github.com/repos/nushell/nushell/releases/latest"
update_dict = {
"windows-x64": "_64-pc-windows-msvc.zip",
}
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = wgets(api_url, proxies=proxies, as_json=True)
version = json_load["tag_name"].replace("v", "")
for to_download in json_load["assets"]:
if update_dict[control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
if ".zip" in to_download["name"]:
download_url = to_download["browser_download_url"]
latest_bin = to_download["name"]
break
# 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)
# Deleting outdated binaries
remove_outdated_binaries(latest_bin)
# arch_list = ensure_list(control.architecture)
# remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))
# Checking version from file
# if get_os_name() == "Windows" and "windows" in control.target_os.lower():
# version_from_file = get_version_from_binary(latest_bin)
# if Version(version_from_file, 4) == Version(version, 4):
# print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
# else:
# error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
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()
# Validating update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ab7b071bd8d54677312f17b0ceb37800906888272262269f6e7f0ddf6b592d1d : WAPT/control
74a5a941013f8e4aa940b3098b3261869b38f06eb7beb04055c9b9a2341fa85c : WAPT/icon.png
78d6f8cff861c18ac7f1f785fdf8f1590cc56c2e43006d2852df01979e5885da : luti.json
7b477699bb4ccbe0d4109f481730307b35394192ed9792209d39fd5ebd7bc357 : nu-0.105.0-x86_64-pc-windows-msvc.zip
2436563524ec9229bbd591c6cd19b530e727eb5e5f43620c342a7d206a0706f0 : setup.py
a9975085a3c625313125fb7dbda68df7a7a71cb3290faf761dd8d5eb19f7bec1 : update_package.py