- package: tis-nushell
- name: Nushell
- version: 0.104.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: 41.69 Mo
- installed_size: 96.36 Mo
- homepage : https://www.nushell.sh/
package : tis-nushell
version : 0.104.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 : 076504dd-b59a-4e8f-a6c5-86947839fa6c
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-05-05T04:00:13.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 : FjHT7i+HQHmGOyC/hj0yLzi4WntY9BBqQxT6JK7faJ2CrWSjxnCpEkU2qQvj7IbmnAlFQ/QXFvTg/fC4QKcheSt5L+icuiW5vWfkahj+7dZFHMVWv1QSCHK7K2ujuwkaH/eXNyszCRjpmJwyS/5fW6Aod8r6xvdAUfaBmEwFny2fCVa0n61pTxOmv0S+pOuvGr1JUkGZXeWm/ddxwaEcSqWJZBNSRXVT7xUdvLF3qaH1qgzmTH5zkVfijLnpbm3mPOj6OcK5d3d0t2fj69IlvCv2LNDU3BHR6uzUatWZQr9r1YfM1XqmVlta6JT7WTMfXdaQNcHgzPAe6SSgT+f8Xg==
# -*- 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
6a17259ba41ccda8efefc0c6083bbf55662077175f4ada260a50d5e918abfdfd : WAPT/control
74a5a941013f8e4aa940b3098b3261869b38f06eb7beb04055c9b9a2341fa85c : WAPT/icon.png
3eeddae21c903f39a770abdd01efd3e94b4a7c967acba205d6eeb72303b15069 : luti.json
bbbbe04f7115cd22bd3be23755e248bee2902964fc51c5a1ad5436539217b104 : nu-0.104.0-x86_64-pc-windows-msvc.zip
2436563524ec9229bbd591c6cd19b530e727eb5e5f43620c342a7d206a0706f0 : setup.py
a9975085a3c625313125fb7dbda68df7a7a71cb3290faf761dd8d5eb19f7bec1 : update_package.py