pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/starship shells/starship: import package
details: https://anonhg.NetBSD.org/pkgsrc/rev/73d9bba25a93
branches: trunk
changeset: 455716:73d9bba25a93
user: pin <pin%pkgsrc.org@localhost>
date: Fri Jul 09 18:51:23 2021 +0000
description:
shells/starship: import package
Packaged in wip by mjturner
The minimal, blazing-fast, and infinitely customizable prompt for any
shell.
Features:
o Fast: it's fast - really really fast!
o Customizable: configure every aspect of your prompt.
o Universal: works on any shell, on any operating system.
o Intelligent: shows relevant information at a glance.
o Feature rich: support for all your favorite tools.
o Easy: quick to install - start using it in minutes.
The following shells are currently supported:
o Bash
o Elvish
o Fish
o Ion
o Powershell
o Tcsh
o Zsh
diffstat:
shells/starship/DESCR | 19 +
shells/starship/MESSAGE | 10 +
shells/starship/Makefile | 48 +
shells/starship/PLIST | 5 +
shells/starship/cargo-depends.mk | 225 +++++++
shells/starship/distinfo | 895 +++++++++++++++++++++++++++++++
shells/starship/patches/patch-Cargo.toml | 14 +
7 files changed, 1216 insertions(+), 0 deletions(-)
diffs (truncated from 1244 to 300 lines):
diff -r e4a2a7b36643 -r 73d9bba25a93 shells/starship/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/starship/DESCR Fri Jul 09 18:51:23 2021 +0000
@@ -0,0 +1,19 @@
+The minimal, blazing-fast, and infinitely customizable prompt for any
+shell.
+
+Features:
+o Fast: it's fast - really really fast!
+o Customizable: configure every aspect of your prompt.
+o Universal: works on any shell, on any operating system.
+o Intelligent: shows relevant information at a glance.
+o Feature rich: support for all your favorite tools.
+o Easy: quick to install - start using it in minutes.
+
+The following shells are currently supported:
+o Bash
+o Elvish
+o Fish
+o Ion
+o Powershell
+o Tcsh
+o Zsh
diff -r e4a2a7b36643 -r 73d9bba25a93 shells/starship/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/starship/MESSAGE Fri Jul 09 18:51:23 2021 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2021/07/09 18:51:23 pin Exp $
+
+Starship currently supports the following shells:
+Bash, Elvish, Fish, Ion, Powershell, Tcsh, Zsh
+
+If your current shell is not supported (for example, if you use C shell or
+KornShell), you'll need to install a supported shell before you can use it.
+
+===========================================================================
diff -r e4a2a7b36643 -r 73d9bba25a93 shells/starship/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/starship/Makefile Fri Jul 09 18:51:23 2021 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1 2021/07/09 18:51:23 pin Exp $
+
+DISTNAME= starship-0.55.0
+CATEGORIES= shells
+MASTER_SITES= ${MASTER_SITE_GITHUB:=starship/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= mj%mjturner.net@localhost
+HOMEPAGE= https://github.com/starship/starship/
+COMMENT= Fast, customizable cross-shell prompt
+LICENSE= isc
+
+# The libc and rust-battery crates currently have limited platform support
+ONLY_FOR_PLATFORM= Darwin-*-* DragonFly-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
+
+.include "cargo-depends.mk"
+
+USE_LANGUAGES= c
+USE_TOOLS+= pkg-config
+
+MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
+MAKE_ENV+= RUSTFLAGS=${RUSTFLAGS:Q}
+
+# Disable rust-battery crate on NetBSD
+# See https://github.com/svartalf/rust-battery/issues/20
+CARGO_NO_DEFAULT_FEATURES= YES
+CARGO_FEATURES+= http
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
+CARGO_FEATURES+= battery
+.endif
+
+INSTALLATION_DIRS= bin
+EGDIR= ${PREFIX}/share/examples/starship/auto-completion
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/starship ${DESTDIR}${PREFIX}/bin
+ ${WRKSRC}/target/release/starship completions bash > ${DESTDIR}${EGDIR}/starship.bash
+ ${WRKSRC}/target/release/starship completions fish > ${DESTDIR}${EGDIR}/starship.fish
+ ${WRKSRC}/target/release/starship completions zsh > ${DESTDIR}${EGDIR}/_starship
+
+DEPENDS+= git-base-[0-9]*:../../devel/git-base
+
+.include "../../lang/rust/cargo.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e4a2a7b36643 -r 73d9bba25a93 shells/starship/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/starship/PLIST Fri Jul 09 18:51:23 2021 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/09 18:51:23 pin Exp $
+bin/starship
+share/examples/starship/auto-completion/_starship
+share/examples/starship/auto-completion/starship.bash
+share/examples/starship/auto-completion/starship.fish
diff -r e4a2a7b36643 -r 73d9bba25a93 shells/starship/cargo-depends.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/starship/cargo-depends.mk Fri Jul 09 18:51:23 2021 +0000
@@ -0,0 +1,225 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2021/07/09 18:51:23 pin Exp $
+
+CARGO_CRATE_DEPENDS+= ahash-0.4.7
+CARGO_CRATE_DEPENDS+= aho-corasick-0.7.18
+CARGO_CRATE_DEPENDS+= ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+= arrayref-0.3.6
+CARGO_CRATE_DEPENDS+= arrayvec-0.5.2
+CARGO_CRATE_DEPENDS+= async-io-1.4.1
+CARGO_CRATE_DEPENDS+= attohttpc-0.17.0
+CARGO_CRATE_DEPENDS+= atty-0.2.14
+CARGO_CRATE_DEPENDS+= autocfg-1.0.1
+CARGO_CRATE_DEPENDS+= base64-0.13.0
+CARGO_CRATE_DEPENDS+= battery-0.7.8
+CARGO_CRATE_DEPENDS+= bitflags-0.9.1
+CARGO_CRATE_DEPENDS+= bitflags-1.2.1
+CARGO_CRATE_DEPENDS+= bitvec-0.19.5
+CARGO_CRATE_DEPENDS+= blake2b_simd-0.5.11
+CARGO_CRATE_DEPENDS+= block-0.1.6
+CARGO_CRATE_DEPENDS+= block-buffer-0.7.3
+CARGO_CRATE_DEPENDS+= block-padding-0.1.5
+CARGO_CRATE_DEPENDS+= byte-tools-0.3.1
+CARGO_CRATE_DEPENDS+= byte-unit-4.0.12
+CARGO_CRATE_DEPENDS+= byteorder-1.4.3
+CARGO_CRATE_DEPENDS+= bytes-1.0.1
+CARGO_CRATE_DEPENDS+= cache-padded-1.1.1
+CARGO_CRATE_DEPENDS+= cc-1.0.67
+CARGO_CRATE_DEPENDS+= cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= chrono-0.4.19
+CARGO_CRATE_DEPENDS+= clap-2.33.3
+CARGO_CRATE_DEPENDS+= concurrent-queue-1.2.2
+CARGO_CRATE_DEPENDS+= constant_time_eq-0.1.5
+CARGO_CRATE_DEPENDS+= core-foundation-0.7.0
+CARGO_CRATE_DEPENDS+= core-foundation-0.9.1
+CARGO_CRATE_DEPENDS+= core-foundation-sys-0.7.0
+CARGO_CRATE_DEPENDS+= core-foundation-sys-0.8.2
+CARGO_CRATE_DEPENDS+= crossbeam-channel-0.5.1
+CARGO_CRATE_DEPENDS+= crossbeam-deque-0.8.0
+CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.9.4
+CARGO_CRATE_DEPENDS+= crossbeam-utils-0.8.4
+CARGO_CRATE_DEPENDS+= derivative-2.2.0
+CARGO_CRATE_DEPENDS+= digest-0.8.1
+CARGO_CRATE_DEPENDS+= dirs-1.0.5
+CARGO_CRATE_DEPENDS+= dirs-next-2.0.0
+CARGO_CRATE_DEPENDS+= dirs-sys-next-0.1.2
+CARGO_CRATE_DEPENDS+= dlv-list-0.2.3
+CARGO_CRATE_DEPENDS+= dtoa-0.4.8
+CARGO_CRATE_DEPENDS+= either-1.6.1
+CARGO_CRATE_DEPENDS+= enumflags2-0.6.4
+CARGO_CRATE_DEPENDS+= enumflags2_derive-0.6.4
+CARGO_CRATE_DEPENDS+= fake-simd-0.1.2
+CARGO_CRATE_DEPENDS+= fastrand-1.4.1
+CARGO_CRATE_DEPENDS+= fnv-1.0.7
+CARGO_CRATE_DEPENDS+= foreign-types-0.3.2
+CARGO_CRATE_DEPENDS+= foreign-types-shared-0.1.1
+CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+= funty-1.1.0
+CARGO_CRATE_DEPENDS+= futures-0.3.15
+CARGO_CRATE_DEPENDS+= futures-channel-0.3.15
+CARGO_CRATE_DEPENDS+= futures-core-0.3.15
+CARGO_CRATE_DEPENDS+= futures-executor-0.3.15
+CARGO_CRATE_DEPENDS+= futures-io-0.3.15
+CARGO_CRATE_DEPENDS+= futures-lite-1.11.3
+CARGO_CRATE_DEPENDS+= futures-macro-0.3.15
+CARGO_CRATE_DEPENDS+= futures-sink-0.3.15
+CARGO_CRATE_DEPENDS+= futures-task-0.3.15
+CARGO_CRATE_DEPENDS+= futures-util-0.3.15
+CARGO_CRATE_DEPENDS+= generic-array-0.12.4
+CARGO_CRATE_DEPENDS+= gethostname-0.2.1
+CARGO_CRATE_DEPENDS+= getrandom-0.1.16
+CARGO_CRATE_DEPENDS+= getrandom-0.2.2
+CARGO_CRATE_DEPENDS+= git2-0.13.20
+CARGO_CRATE_DEPENDS+= hashbrown-0.9.1
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.18
+CARGO_CRATE_DEPENDS+= http-0.2.4
+CARGO_CRATE_DEPENDS+= idna-0.2.3
+CARGO_CRATE_DEPENDS+= indexmap-1.6.2
+CARGO_CRATE_DEPENDS+= instant-0.1.9
+CARGO_CRATE_DEPENDS+= itertools-0.10.0
+CARGO_CRATE_DEPENDS+= itoa-0.4.7
+CARGO_CRATE_DEPENDS+= jobserver-0.1.22
+CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+= lazycell-1.3.0
+CARGO_CRATE_DEPENDS+= lexical-core-0.7.6
+# Disabled as we need newer version containing NetBSD fix
+CARGO_CRATE_DEPENDS+= libc-0.2.98
+CARGO_CRATE_DEPENDS+= libgit2-sys-0.12.21+1.1.0
+CARGO_CRATE_DEPENDS+= libz-sys-1.1.3
+CARGO_CRATE_DEPENDS+= linked-hash-map-0.5.4
+CARGO_CRATE_DEPENDS+= log-0.4.14
+CARGO_CRATE_DEPENDS+= mac-notification-sys-0.3.0
+CARGO_CRATE_DEPENDS+= mach-0.3.2
+CARGO_CRATE_DEPENDS+= malloc_buf-0.0.6
+CARGO_CRATE_DEPENDS+= maplit-1.0.2
+CARGO_CRATE_DEPENDS+= matches-0.1.8
+CARGO_CRATE_DEPENDS+= memchr-2.4.0
+CARGO_CRATE_DEPENDS+= memoffset-0.6.3
+CARGO_CRATE_DEPENDS+= native-tls-0.2.7
+CARGO_CRATE_DEPENDS+= nb-connect-1.2.0
+CARGO_CRATE_DEPENDS+= nix-0.17.0
+CARGO_CRATE_DEPENDS+= nix-0.19.1
+CARGO_CRATE_DEPENDS+= nix-0.21.0
+CARGO_CRATE_DEPENDS+= nom-6.1.2
+CARGO_CRATE_DEPENDS+= notify-rust-4.5.2
+CARGO_CRATE_DEPENDS+= num-integer-0.1.44
+CARGO_CRATE_DEPENDS+= num-traits-0.2.14
+CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
+CARGO_CRATE_DEPENDS+= objc-0.2.7
+CARGO_CRATE_DEPENDS+= objc-foundation-0.1.1
+CARGO_CRATE_DEPENDS+= objc_id-0.1.1
+CARGO_CRATE_DEPENDS+= once_cell-1.8.0
+CARGO_CRATE_DEPENDS+= opaque-debug-0.2.3
+CARGO_CRATE_DEPENDS+= open-1.7.0
+CARGO_CRATE_DEPENDS+= openssl-0.10.34
+CARGO_CRATE_DEPENDS+= openssl-probe-0.1.4
+CARGO_CRATE_DEPENDS+= openssl-src-111.15.0+1.1.1k
+CARGO_CRATE_DEPENDS+= openssl-sys-0.9.63
+CARGO_CRATE_DEPENDS+= ordered-multimap-0.3.1
+CARGO_CRATE_DEPENDS+= os_info-3.0.6
+CARGO_CRATE_DEPENDS+= parking-2.0.0
+CARGO_CRATE_DEPENDS+= path-slash-0.1.4
+CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+= pest-2.1.3
+CARGO_CRATE_DEPENDS+= pest_derive-2.1.0
+CARGO_CRATE_DEPENDS+= pest_generator-2.1.3
+CARGO_CRATE_DEPENDS+= pest_meta-2.1.3
+CARGO_CRATE_DEPENDS+= pin-project-lite-0.2.6
+CARGO_CRATE_DEPENDS+= pin-utils-0.1.0
+CARGO_CRATE_DEPENDS+= pkg-config-0.3.19
+CARGO_CRATE_DEPENDS+= polling-2.0.3
+CARGO_CRATE_DEPENDS+= ppv-lite86-0.2.10
+CARGO_CRATE_DEPENDS+= proc-macro-crate-0.1.5
+CARGO_CRATE_DEPENDS+= proc-macro-hack-0.5.19
+CARGO_CRATE_DEPENDS+= proc-macro-nested-0.1.7
+CARGO_CRATE_DEPENDS+= proc-macro2-1.0.26
+CARGO_CRATE_DEPENDS+= process_control-3.0.1
+CARGO_CRATE_DEPENDS+= quick-xml-0.22.0
+CARGO_CRATE_DEPENDS+= quote-0.3.15
+CARGO_CRATE_DEPENDS+= quote-1.0.9
+CARGO_CRATE_DEPENDS+= radium-0.5.3
+CARGO_CRATE_DEPENDS+= rand-0.8.4
+CARGO_CRATE_DEPENDS+= rand_chacha-0.3.0
+CARGO_CRATE_DEPENDS+= rand_core-0.6.2
+CARGO_CRATE_DEPENDS+= rand_hc-0.3.0
+CARGO_CRATE_DEPENDS+= rayon-1.5.1
+CARGO_CRATE_DEPENDS+= rayon-core-1.9.1
+CARGO_CRATE_DEPENDS+= redox_syscall-0.1.57
+CARGO_CRATE_DEPENDS+= redox_syscall-0.2.8
+CARGO_CRATE_DEPENDS+= redox_users-0.3.5
+CARGO_CRATE_DEPENDS+= redox_users-0.4.0
+CARGO_CRATE_DEPENDS+= regex-1.5.4
+CARGO_CRATE_DEPENDS+= regex-syntax-0.6.25
+CARGO_CRATE_DEPENDS+= remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+= rust-argon2-0.8.3
+CARGO_CRATE_DEPENDS+= rust-ini-0.17.0
+CARGO_CRATE_DEPENDS+= ryu-1.0.5
+CARGO_CRATE_DEPENDS+= schannel-0.1.19
+CARGO_CRATE_DEPENDS+= scoped-tls-1.0.0
+CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
+CARGO_CRATE_DEPENDS+= security-framework-2.2.0
+CARGO_CRATE_DEPENDS+= security-framework-sys-2.2.0
+CARGO_CRATE_DEPENDS+= semver-1.0.3
+CARGO_CRATE_DEPENDS+= serde-1.0.126
+CARGO_CRATE_DEPENDS+= serde_derive-1.0.126
+CARGO_CRATE_DEPENDS+= serde_json-1.0.64
+CARGO_CRATE_DEPENDS+= serde_repr-0.1.7
+CARGO_CRATE_DEPENDS+= serde_urlencoded-0.6.1
+CARGO_CRATE_DEPENDS+= sha-1-0.8.2
+CARGO_CRATE_DEPENDS+= shadow-rs-0.5.25
+CARGO_CRATE_DEPENDS+= shell-words-1.0.0
+CARGO_CRATE_DEPENDS+= slab-0.4.3
+CARGO_CRATE_DEPENDS+= socket2-0.4.0
+CARGO_CRATE_DEPENDS+= static_assertions-1.1.0
+CARGO_CRATE_DEPENDS+= strsim-0.8.0
+CARGO_CRATE_DEPENDS+= strsim-0.10.0
+CARGO_CRATE_DEPENDS+= strum-0.8.0
+CARGO_CRATE_DEPENDS+= strum_macros-0.8.0
+CARGO_CRATE_DEPENDS+= syn-0.11.11
+CARGO_CRATE_DEPENDS+= syn-1.0.72
+CARGO_CRATE_DEPENDS+= synom-0.11.3
+CARGO_CRATE_DEPENDS+= sys-info-0.9.0
+CARGO_CRATE_DEPENDS+= tap-1.0.1
+CARGO_CRATE_DEPENDS+= tempfile-3.2.0
+CARGO_CRATE_DEPENDS+= term_size-0.3.2
+CARGO_CRATE_DEPENDS+= textwrap-0.11.0
+CARGO_CRATE_DEPENDS+= time-0.1.44
+CARGO_CRATE_DEPENDS+= tinyvec-1.2.0
+CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.0
+CARGO_CRATE_DEPENDS+= toml-0.5.8
+CARGO_CRATE_DEPENDS+= typenum-1.13.0
+CARGO_CRATE_DEPENDS+= ucd-trie-0.1.3
+CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.5
+CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.17
+CARGO_CRATE_DEPENDS+= unicode-segmentation-1.7.1
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+= unicode-xid-0.0.4
+CARGO_CRATE_DEPENDS+= unicode-xid-0.2.2
Home |
Main Index |
Thread Index |
Old Index