Initial Commit
- initial default booting image
This commit is contained in:
12
package/nushell/Config.in
Normal file
12
package/nushell/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_NUSHELL
|
||||
bool "nushell"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_HOST_RUSTC
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_HOST_PKGCONF
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_NCURSES_TARGET_PROGS
|
||||
help
|
||||
A new type of shell.
|
||||
|
||||
https://github.com/nushell/nushell
|
||||
3
package/nushell/nushell.hash
Normal file
3
package/nushell/nushell.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally generated
|
||||
sha256 7a0cfb4bee97a34c7d1883eaa72b07b25f24d4ccd96795704d235a9c6854c695 nushell-0.108.0-cargo6.tar.gz
|
||||
sha256 ff5dcaaba6140ec57cafdd4f707cd0d329e727477cf7d5b9ba7a244ec2678b79 LICENSE
|
||||
20
package/nushell/nushell.mk
Normal file
20
package/nushell/nushell.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# nushell
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NUSHELL_VERSION = 0.108.0
|
||||
NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION))
|
||||
NUSHELL_LICENSE = MIT
|
||||
NUSHELL_LICENSE_FILES = LICENSE
|
||||
NUSHELL_DEPENDENCIES = host-pkgconf openssl ncurses
|
||||
|
||||
# Add /usr/bin/nu to /etc/shells as in package/bash/bash.mk
|
||||
define NUSHELL_ADD_NU_TO_SHELLS
|
||||
grep -qsE '^/usr/bin/nu$$' $(TARGET_DIR)/etc/shells \
|
||||
|| echo "/usr/bin/nu" >> $(TARGET_DIR)/etc/shells
|
||||
endef
|
||||
NUSHELL_TARGET_FINALIZE_HOOKS += NUSHELL_ADD_NU_TO_SHELLS
|
||||
|
||||
$(eval $(cargo-package))
|
||||
Reference in New Issue
Block a user