starship: update to 0.48.0 (#6222)

* starship: update to 0.48.0
This commit is contained in:
Kid 2021-01-06 16:13:08 +08:00 committed by GitHub
parent 6c1af57d47
commit d3f75eb73b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://starship.rs
TERMUX_PKG_DESCRIPTION="A minimal, blazing fast, and extremely customizable prompt for any shell"
TERMUX_PKG_LICENSE="ISC"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.47.0
TERMUX_PKG_VERSION=0.48.0
TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=9c9ede1eb7a9e1acf49f0321915232426c234b356c6bb1f740d15d6fa45d1bee
TERMUX_PKG_SHA256=23e729ace48ec0bf6d8eff5f99003351463841f3b28fe453faceb62e6f99bae6
TERMUX_PKG_DEPENDS="zlib"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features"

View File

@ -0,0 +1,13 @@
diff -u -r ../starship-0.48.0/Cargo.toml ./Cargo.toml
--- ../starship-0.48.0/Cargo.toml 2021-01-06 15:03:16.000000000 +0800
+++ ./Cargo.toml 2021-01-06 15:04:13.000000000 +0800
@@ -70,6 +70,9 @@
native-tls = { version = "0.2.7", optional = true }
shell-words = "1.0.0"
+[patch.crates-io]
+sys-info = { git = 'https://github.com/FillZpp/sys-info-rs' }
+
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = [
"winuser",