- package: tis-nushell
- name: Nushell
- version: 0.105.1-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.90 Mo
- installed_size: 96.36 Mo
- homepage : https://www.nushell.sh/
package : tis-nushell
version : 0.105.1-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 : a54cfb61-6a82-476d-9304-08cdad02ca94
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:24:38.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 : JNwEnA1yevNc0IsZaYsvpHgUeqJ4OxnyhsKgQKKwXHVW4hMwurc5ZkZB6HJ0WGiEin+ZZok1bVhGJLbeCg8/cSbrssE3hJBmOWgTDocl7rD7Ar7CsL0HoZBj/vfvqlVZEvgjk3bZwo8hhgRosVY5wfXMiwMJdAiQbMNfo0E8uW9rgUk9FfXftTiRzYTJZs2UYrNEJvxbX8HG8ObLyF2t8uVibtRDsOsShMYPkxjbe0pObJODut0PZkxLUs4y+iDNXWvfqhiaQv+rbAjVM2jjKsAcazaJmwDTAn9OY2ZP1NLiht/ntvNuu6BDE+xQOjIrZbgvqTnzQHchZfv8e1oCIw==
# -*- 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
404098edc2a7d08156fc4eca08363d826d791135cd3f03d286fc90e8458e20dc : WAPT/control
74a5a941013f8e4aa940b3098b3261869b38f06eb7beb04055c9b9a2341fa85c : WAPT/icon.png
f515900f701209a2f05cd4a0665884cf5fddebcf1ab05525df13d31cea51e79e : luti.json
92dad600dc684da77a413e29732f2abb2fd15ccacc1d4059ad230ba0380c52a7 : nu-0.105.1-x86_64-pc-windows-msvc.zip
2436563524ec9229bbd591c6cd19b530e727eb5e5f43620c342a7d206a0706f0 : setup.py
a9975085a3c625313125fb7dbda68df7a7a71cb3290faf761dd8d5eb19f7bec1 : update_package.py