590 lines
10 KiB
Bash
590 lines
10 KiB
Bash
|
# Copyright 2021-2022 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
CRATES="
|
||
|
addr2line-0.17.0
|
||
|
adler32-1.2.0
|
||
|
adler-1.0.2
|
||
|
ahash-0.7.6
|
||
|
aho-corasick-0.7.18
|
||
|
alloc-no-stdlib-2.0.3
|
||
|
alloc-stdlib-0.2.1
|
||
|
ansi_colours-1.0.4
|
||
|
ansi_term-0.12.1
|
||
|
anyhow-1.0.51
|
||
|
arrayvec-0.4.12
|
||
|
arrayvec-0.5.2
|
||
|
arrow2-0.7.0
|
||
|
arrow-format-0.3.0
|
||
|
async-stream-0.3.2
|
||
|
async-stream-impl-0.3.2
|
||
|
async-trait-0.1.51
|
||
|
atty-0.2.14
|
||
|
autocfg-1.0.1
|
||
|
backtrace-0.3.63
|
||
|
base64-0.13.0
|
||
|
bat-0.18.3
|
||
|
bigdecimal-0.3.0
|
||
|
bincode-1.3.3
|
||
|
bitflags-1.2.1
|
||
|
bitpacking-0.8.4
|
||
|
block-buffer-0.9.0
|
||
|
brotli-3.3.2
|
||
|
brotli-decompressor-2.3.2
|
||
|
bson-2.0.1
|
||
|
bstr-0.2.17
|
||
|
bugreport-0.4.1
|
||
|
bumpalo-3.8.0
|
||
|
bytemuck-1.7.2
|
||
|
byteorder-1.4.3
|
||
|
bytes-0.4.12
|
||
|
bytes-0.5.6
|
||
|
bytes-1.1.0
|
||
|
byte-unit-4.0.13
|
||
|
bzip2-0.4.3
|
||
|
bzip2-sys-0.1.11+1.0.8
|
||
|
calamine-0.18.0
|
||
|
cassowary-0.3.0
|
||
|
cc-1.0.72
|
||
|
cfg-if-0.1.10
|
||
|
cfg-if-1.0.0
|
||
|
chrono-0.4.19
|
||
|
chrono-humanize-0.2.1
|
||
|
chrono-tz-0.5.3
|
||
|
clipboard-win-4.2.2
|
||
|
clircle-0.3.0
|
||
|
codepage-0.1.1
|
||
|
codespan-reporting-0.11.1
|
||
|
color_quant-1.1.0
|
||
|
comfy-table-1.6.0
|
||
|
common-path-1.0.0
|
||
|
console-0.14.1
|
||
|
const-sha1-0.2.0
|
||
|
content_inspector-0.2.4
|
||
|
convert_case-0.4.0
|
||
|
core-foundation-0.9.2
|
||
|
core-foundation-sys-0.8.3
|
||
|
cpufeatures-0.2.1
|
||
|
crc32fast-1.3.0
|
||
|
crossbeam-channel-0.5.1
|
||
|
crossbeam-deque-0.8.1
|
||
|
crossbeam-epoch-0.9.5
|
||
|
crossbeam-utils-0.8.5
|
||
|
crossterm-0.19.0
|
||
|
crossterm_winapi-0.7.0
|
||
|
crunchy-0.2.2
|
||
|
crypto-mac-0.11.1
|
||
|
cssparser-0.27.2
|
||
|
cssparser-macros-0.6.0
|
||
|
cstr_core-0.2.4
|
||
|
csv-1.1.6
|
||
|
csv-core-0.1.10
|
||
|
ctrlc-3.2.0
|
||
|
cty-0.2.2
|
||
|
deflate-0.8.6
|
||
|
derive-new-0.5.9
|
||
|
derive_more-0.99.17
|
||
|
digest-0.9.0
|
||
|
directories-next-2.0.0
|
||
|
dirs-3.0.2
|
||
|
dirs-next-2.0.0
|
||
|
dirs-sys-0.3.6
|
||
|
dirs-sys-next-0.1.2
|
||
|
doc-comment-0.3.3
|
||
|
dtoa-0.4.8
|
||
|
dtoa-short-0.3.3
|
||
|
dtparse-1.2.0
|
||
|
dunce-1.0.2
|
||
|
dyn-clone-1.0.4
|
||
|
ego-tree-0.6.2
|
||
|
either-1.6.1
|
||
|
eml-parser-0.1.2
|
||
|
encode_unicode-0.3.6
|
||
|
encoding-0.2.33
|
||
|
encoding-index-japanese-1.20141219.5
|
||
|
encoding-index-korean-1.20141219.5
|
||
|
encoding-index-simpchinese-1.20141219.5
|
||
|
encoding-index-singlebyte-1.20141219.5
|
||
|
encoding-index-tradchinese-1.20141219.5
|
||
|
encoding_index_tests-0.1.4
|
||
|
encoding_rs-0.8.29
|
||
|
endian-type-0.1.2
|
||
|
env_logger-0.7.1
|
||
|
env_logger-0.8.4
|
||
|
error-chain-0.12.4
|
||
|
error-code-2.3.0
|
||
|
failure-0.1.8
|
||
|
failure_derive-0.1.8
|
||
|
fallible-iterator-0.2.0
|
||
|
fallible-streaming-iterator-0.1.9
|
||
|
fd-lock-3.0.1
|
||
|
filesize-0.2.0
|
||
|
flatbuffers-2.0.0
|
||
|
flate2-1.0.22
|
||
|
fnv-1.0.7
|
||
|
foreign-types-0.3.2
|
||
|
foreign-types-shared-0.1.1
|
||
|
form_urlencoded-1.0.1
|
||
|
fs_extra-1.2.0
|
||
|
futf-0.1.4
|
||
|
futures-0.1.31
|
||
|
futures-0.3.18
|
||
|
futures-channel-0.3.18
|
||
|
futures-core-0.3.18
|
||
|
futures-executor-0.3.18
|
||
|
futures-io-0.3.18
|
||
|
futures-macro-0.3.18
|
||
|
futures-sink-0.3.18
|
||
|
futures-task-0.3.18
|
||
|
futures-util-0.3.18
|
||
|
fxhash-0.2.1
|
||
|
generic-array-0.14.4
|
||
|
getopts-0.2.21
|
||
|
getrandom-0.1.16
|
||
|
getrandom-0.2.3
|
||
|
getset-0.1.2
|
||
|
gimli-0.26.1
|
||
|
git2-0.13.25
|
||
|
git-version-0.3.5
|
||
|
git-version-macro-0.3.5
|
||
|
gjson-0.8.0
|
||
|
globset-0.4.8
|
||
|
glob-0.3.0
|
||
|
grep-cli-0.1.6
|
||
|
h2-0.3.7
|
||
|
hamcrest2-0.3.0
|
||
|
hash32-0.2.1
|
||
|
hashbrown-0.11.2
|
||
|
hashlink-0.7.0
|
||
|
hash_hasher-2.0.3
|
||
|
heapless-0.7.8
|
||
|
heck-0.3.3
|
||
|
heck-0.4.0
|
||
|
hermit-abi-0.1.19
|
||
|
hex-0.4.3
|
||
|
hmac-0.11.0
|
||
|
hmac-sha1-0.1.3
|
||
|
html5ever-0.25.1
|
||
|
htmlescape-0.3.1
|
||
|
httparse-1.5.1
|
||
|
httpdate-1.0.2
|
||
|
http-0.2.5
|
||
|
http-body-0.4.4
|
||
|
humantime-1.3.0
|
||
|
hyper-0.14.15
|
||
|
hyper-tls-0.5.0
|
||
|
ical-0.7.0
|
||
|
idna-0.2.3
|
||
|
image-0.23.14
|
||
|
indexmap-1.7.0
|
||
|
instant-0.1.12
|
||
|
insta-1.8.0
|
||
|
integer-encoding-3.0.2
|
||
|
iovec-0.1.4
|
||
|
ipnet-2.3.1
|
||
|
is_debug-1.0.1
|
||
|
is_executable-1.0.1
|
||
|
itertools-0.10.1
|
||
|
itoa-0.4.8
|
||
|
jobserver-0.1.24
|
||
|
jpeg-decoder-0.1.22
|
||
|
js-sys-0.3.55
|
||
|
lazycell-1.3.0
|
||
|
lazy_static-1.4.0
|
||
|
lexical-6.0.1
|
||
|
lexical-core-0.8.2
|
||
|
lexical-parse-float-0.8.2
|
||
|
lexical-parse-integer-0.8.0
|
||
|
lexical-util-0.8.1
|
||
|
lexical-write-float-0.8.2
|
||
|
lexical-write-integer-0.8.0
|
||
|
libc-0.2.112
|
||
|
libgit2-sys-0.12.26+1.3.0
|
||
|
libm-0.2.1
|
||
|
libsqlite3-sys-0.23.1
|
||
|
libz-sys-1.1.3
|
||
|
line-wrap-0.1.1
|
||
|
linked-hash-map-0.5.4
|
||
|
lock_api-0.4.5
|
||
|
log-0.4.14
|
||
|
lz4-1.23.2
|
||
|
lz4-sys-1.9.2
|
||
|
mac-0.1.1
|
||
|
malloc_buf-0.0.6
|
||
|
markup5ever-0.10.1
|
||
|
matches-0.1.9
|
||
|
md5-0.7.0
|
||
|
md-5-0.9.1
|
||
|
memchr-2.4.1
|
||
|
memmap2-0.5.0
|
||
|
memoffset-0.6.4
|
||
|
meval-0.2.0
|
||
|
mime-0.3.16
|
||
|
mime_guess-2.0.3
|
||
|
miniz_oxide-0.3.7
|
||
|
miniz_oxide-0.4.4
|
||
|
miow-0.3.7
|
||
|
mio-0.7.14
|
||
|
mp4-0.9.0
|
||
|
multiversion-0.6.1
|
||
|
multiversion-macros-0.6.1
|
||
|
native-tls-0.2.8
|
||
|
neso-0.5.0
|
||
|
new_debug_unreachable-1.0.4
|
||
|
nibble_vec-0.1.0
|
||
|
nix-0.22.2
|
||
|
nodrop-0.1.14
|
||
|
nom-1.2.4
|
||
|
ntapi-0.3.6
|
||
|
num-0.2.1
|
||
|
num-0.4.0
|
||
|
num-bigint-0.2.6
|
||
|
num-bigint-0.3.3
|
||
|
num-bigint-0.4.3
|
||
|
num-complex-0.2.4
|
||
|
num-complex-0.4.0
|
||
|
num-format-0.4.0
|
||
|
num-integer-0.1.44
|
||
|
num-iter-0.1.42
|
||
|
num-rational-0.2.4
|
||
|
num-rational-0.3.2
|
||
|
num-rational-0.4.0
|
||
|
num-traits-0.2.14
|
||
|
num_cpus-1.13.0
|
||
|
nu-0.43.0
|
||
|
nu-ansi-term-0.43.0
|
||
|
nu-cli-0.43.0
|
||
|
nu-command-0.43.0
|
||
|
nu-completion-0.43.0
|
||
|
nu-data-0.43.0
|
||
|
nu-engine-0.43.0
|
||
|
nu-errors-0.43.0
|
||
|
nu-json-0.43.0
|
||
|
nu-parser-0.43.0
|
||
|
nu-path-0.43.0
|
||
|
nu-plugin-0.43.0
|
||
|
nu-pretty-hex-0.43.0
|
||
|
nu-protocol-0.43.0
|
||
|
nu-serde-0.43.0
|
||
|
nu-source-0.43.0
|
||
|
nu-stream-0.43.0
|
||
|
nu-table-0.43.0
|
||
|
nu-test-support-0.43.0
|
||
|
nu-value-ext-0.43.0
|
||
|
nu_plugin_binaryview-0.43.0
|
||
|
nu_plugin_chart-0.43.0
|
||
|
nu_plugin_from_bson-0.43.0
|
||
|
nu_plugin_from_mp4-0.43.0
|
||
|
nu_plugin_from_sqlite-0.43.0
|
||
|
nu_plugin_inc-0.43.0
|
||
|
nu_plugin_match-0.43.0
|
||
|
nu_plugin_query_json-0.43.0
|
||
|
nu_plugin_s3-0.43.0
|
||
|
nu_plugin_selector-0.43.0
|
||
|
nu_plugin_start-0.43.0
|
||
|
nu_plugin_textview-0.43.0
|
||
|
nu_plugin_to_bson-0.43.0
|
||
|
nu_plugin_to_sqlite-0.43.0
|
||
|
nu_plugin_tree-0.43.0
|
||
|
nu_plugin_xpath-0.43.0
|
||
|
objc-0.2.7
|
||
|
object-0.27.1
|
||
|
once_cell-1.8.0
|
||
|
onig-6.3.1
|
||
|
onig_sys-69.7.1
|
||
|
opaque-debug-0.3.0
|
||
|
openssl-0.10.38
|
||
|
openssl-probe-0.1.4
|
||
|
openssl-sys-0.9.71
|
||
|
open-1.7.1
|
||
|
ordered-float-1.1.1
|
||
|
overload-0.1.1
|
||
|
parking_lot-0.11.2
|
||
|
parking_lot_core-0.8.5
|
||
|
parquet2-0.6.0
|
||
|
parquet-format-async-temp-0.2.0
|
||
|
parse-zoneinfo-0.3.0
|
||
|
pathdiff-0.2.1
|
||
|
path_abs-0.5.1
|
||
|
percent-encoding-2.1.0
|
||
|
peresil-0.3.0
|
||
|
pest-2.1.3
|
||
|
phf-0.8.0
|
||
|
phf_codegen-0.8.0
|
||
|
phf_generator-0.8.0
|
||
|
phf_macros-0.8.0
|
||
|
phf_shared-0.8.0
|
||
|
pin-project-lite-0.2.7
|
||
|
pin-utils-0.1.0
|
||
|
pkg-config-0.3.22
|
||
|
plist-1.3.1
|
||
|
png-0.16.8
|
||
|
polars-0.17.0
|
||
|
polars-arrow-0.17.0
|
||
|
polars-core-0.17.0
|
||
|
polars-io-0.17.0
|
||
|
polars-lazy-0.17.0
|
||
|
ppv-lite86-0.2.15
|
||
|
precomputed-hash-0.1.1
|
||
|
pretty-0.5.2
|
||
|
pretty_env_logger-0.4.0
|
||
|
proc-macro2-1.0.32
|
||
|
proc-macro-error-1.0.4
|
||
|
proc-macro-error-attr-1.0.4
|
||
|
proc-macro-hack-0.5.19
|
||
|
ptree-0.4.0
|
||
|
quickcheck-1.0.3
|
||
|
quickcheck_macros-1.0.0
|
||
|
quick-error-1.2.3
|
||
|
quick-xml-0.19.0
|
||
|
quick-xml-0.22.0
|
||
|
quote-1.0.10
|
||
|
radix_trie-0.2.1
|
||
|
rand-0.7.3
|
||
|
rand-0.8.4
|
||
|
rand_chacha-0.2.2
|
||
|
rand_chacha-0.3.1
|
||
|
rand_core-0.5.1
|
||
|
rand_core-0.6.3
|
||
|
rand_distr-0.3.0
|
||
|
rand_hc-0.2.0
|
||
|
rand_hc-0.3.1
|
||
|
rand_pcg-0.2.1
|
||
|
rawkey-0.1.3
|
||
|
rayon-1.5.1
|
||
|
rayon-core-1.9.1
|
||
|
readkey-0.1.7
|
||
|
redox_syscall-0.2.10
|
||
|
redox_users-0.4.0
|
||
|
regex-1.5.4
|
||
|
regex-automata-0.1.10
|
||
|
regex-syntax-0.6.25
|
||
|
remove_dir_all-0.5.3
|
||
|
reqwest-0.11.7
|
||
|
result-1.0.0
|
||
|
roxmltree-0.14.1
|
||
|
rstest-0.10.0
|
||
|
rusqlite-0.26.1
|
||
|
rustc-demangle-0.1.21
|
||
|
rustc-serialize-0.3.24
|
||
|
rustc_version-0.3.3
|
||
|
rustc_version-0.4.0
|
||
|
rustversion-1.0.5
|
||
|
rustyline-9.0.0
|
||
|
rust-embed-5.9.0
|
||
|
rust-embed-impl-5.9.0
|
||
|
rust-embed-utils-5.1.0
|
||
|
rust_decimal-0.10.2
|
||
|
ryu-1.0.6
|
||
|
s3handler-0.7.5
|
||
|
safemem-0.3.3
|
||
|
same-file-1.0.6
|
||
|
schannel-0.1.19
|
||
|
scopeguard-1.1.0
|
||
|
scraper-0.12.0
|
||
|
security-framework-2.3.1
|
||
|
security-framework-sys-2.4.2
|
||
|
selectors-0.22.0
|
||
|
semver-0.11.0
|
||
|
semver-1.0.4
|
||
|
semver-parser-0.10.2
|
||
|
serde-1.0.130
|
||
|
serde_bytes-0.11.5
|
||
|
serde_derive-1.0.130
|
||
|
serde_ini-0.2.0
|
||
|
serde_json-1.0.72
|
||
|
serde_test-1.0.130
|
||
|
serde_urlencoded-0.7.0
|
||
|
serde_yaml-0.8.21
|
||
|
serial_test-0.5.1
|
||
|
serial_test_derive-0.5.1
|
||
|
servo_arc-0.1.1
|
||
|
sha1-0.2.0
|
||
|
sha2-0.9.8
|
||
|
shadow-rs-0.8.1
|
||
|
shell-escape-0.1.5
|
||
|
shell-words-1.0.0
|
||
|
signal-hook-0.1.17
|
||
|
signal-hook-registry-1.4.0
|
||
|
simdutf8-0.1.3
|
||
|
similar-1.3.0
|
||
|
siphasher-0.3.7
|
||
|
slab-0.4.5
|
||
|
smallvec-1.7.0
|
||
|
smart-default-0.6.0
|
||
|
snap-1.0.5
|
||
|
socket2-0.4.2
|
||
|
spin-0.9.2
|
||
|
stable_deref_trait-1.2.0
|
||
|
static_assertions-1.1.0
|
||
|
std_prelude-0.2.12
|
||
|
streaming-decompression-0.1.0
|
||
|
streaming-iterator-0.1.5
|
||
|
strength_reduce-0.2.3
|
||
|
string_cache-0.8.2
|
||
|
string_cache_codegen-0.5.1
|
||
|
strip-ansi-escapes-0.1.1
|
||
|
strum-0.20.0
|
||
|
strum_macros-0.20.1
|
||
|
str-buf-1.0.5
|
||
|
subtle-2.4.1
|
||
|
sxd-document-0.3.2
|
||
|
sxd-xpath-0.4.2
|
||
|
synstructure-0.12.6
|
||
|
syntect-4.6.0
|
||
|
syn-1.0.82
|
||
|
sysinfo-0.23.0
|
||
|
sys-info-0.9.1
|
||
|
sys-locale-0.1.0
|
||
|
tempfile-3.2.0
|
||
|
tendril-0.4.2
|
||
|
termcolor-1.1.2
|
||
|
terminal_size-0.1.17
|
||
|
term-0.7.0
|
||
|
term_size-0.3.2
|
||
|
thin-slice-0.1.1
|
||
|
thiserror-1.0.30
|
||
|
thiserror-impl-1.0.30
|
||
|
time-0.1.44
|
||
|
time-0.3.5
|
||
|
tinyvec-1.5.1
|
||
|
tinyvec_macros-0.1.0
|
||
|
titlecase-1.1.0
|
||
|
tokio-1.14.0
|
||
|
tokio-io-0.1.13
|
||
|
tokio-macros-1.6.0
|
||
|
tokio-native-tls-0.3.0
|
||
|
tokio-util-0.6.9
|
||
|
toml-0.5.8
|
||
|
tower-service-0.3.1
|
||
|
tracing-0.1.29
|
||
|
tracing-core-0.1.21
|
||
|
trash-2.0.2
|
||
|
try-lock-0.2.3
|
||
|
tui-0.15.0
|
||
|
typed-arena-1.7.0
|
||
|
typenum-1.14.0
|
||
|
ucd-trie-0.1.3
|
||
|
umask-1.0.0
|
||
|
unicase-2.6.0
|
||
|
unicode-bidi-0.3.7
|
||
|
unicode-normalization-0.1.19
|
||
|
unicode-segmentation-1.8.0
|
||
|
unicode-width-0.1.9
|
||
|
unicode-xid-0.2.2
|
||
|
unsafe_unwrap-0.1.0
|
||
|
url-2.2.2
|
||
|
user32-sys-0.2.0
|
||
|
users-0.11.0
|
||
|
utf8parse-0.2.0
|
||
|
utf8-width-0.1.5
|
||
|
utf-8-0.7.6
|
||
|
uuid-0.8.2
|
||
|
vcpkg-0.2.15
|
||
|
version_check-0.9.3
|
||
|
void-1.0.2
|
||
|
vte-0.10.1
|
||
|
vte_generate_state_changes-0.1.1
|
||
|
walkdir-2.3.2
|
||
|
want-0.3.0
|
||
|
wasi-0.9.0+wasi-snapshot-preview1
|
||
|
wasi-0.10.0+wasi-snapshot-preview1
|
||
|
wasm-bindgen-0.2.78
|
||
|
wasm-bindgen-backend-0.2.78
|
||
|
wasm-bindgen-futures-0.4.28
|
||
|
wasm-bindgen-macro-0.2.78
|
||
|
wasm-bindgen-macro-support-0.2.78
|
||
|
wasm-bindgen-shared-0.2.78
|
||
|
webbrowser-0.5.5
|
||
|
web-sys-0.3.55
|
||
|
which-4.2.2
|
||
|
widestring-0.4.3
|
||
|
winapi-0.2.8
|
||
|
winapi-0.3.9
|
||
|
winapi-build-0.1.1
|
||
|
winapi-i686-pc-windows-gnu-0.4.0
|
||
|
winapi-util-0.1.5
|
||
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
||
|
windows-0.9.1
|
||
|
windows-sys-0.28.0
|
||
|
windows_aarch64_msvc-0.28.0
|
||
|
windows_gen-0.9.1
|
||
|
windows_i686_gnu-0.28.0
|
||
|
windows_i686_msvc-0.28.0
|
||
|
windows_macros-0.9.1
|
||
|
windows_x86_64_gnu-0.28.0
|
||
|
windows_x86_64_msvc-0.28.0
|
||
|
winreg-0.7.0
|
||
|
x11-2.19.1
|
||
|
xmlparser-0.13.3
|
||
|
xml-rs-0.8.4
|
||
|
yaml-rust-0.4.5
|
||
|
zip-0.5.13
|
||
|
zstd-0.9.0+zstd.1.5.0
|
||
|
zstd-safe-4.1.1+zstd.1.5.0
|
||
|
zstd-sys-1.6.1+zstd.1.5.0
|
||
|
"
|
||
|
|
||
|
inherit cargo
|
||
|
|
||
|
DESCRIPTION="A new type of shell, written in Rust"
|
||
|
HOMEPAGE="https://www.nushell.sh"
|
||
|
SRC_URI="https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||
|
$(cargo_crate_uris ${CRATES})"
|
||
|
|
||
|
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 CC0-1.0 ISC LGPL-3+ MIT MPL-2.0 Unlicense ZLIB"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||
|
IUSE="+extra"
|
||
|
|
||
|
DEPEND="
|
||
|
>=dev-libs/libgit2-0.99:=
|
||
|
dev-libs/oniguruma:=
|
||
|
dev-libs/openssl:0=
|
||
|
net-libs/libssh2:=
|
||
|
net-libs/nghttp2:=
|
||
|
net-misc/curl
|
||
|
extra? (
|
||
|
dev-db/sqlite:3=
|
||
|
x11-libs/libX11
|
||
|
x11-libs/libxcb
|
||
|
)
|
||
|
"
|
||
|
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
BDEPEND="
|
||
|
>=virtual/rust-1.51
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
|
QA_FLAGS_IGNORED="usr/bin/nu.*"
|
||
|
|
||
|
src_configure() {
|
||
|
# high magic to allow system-libs
|
||
|
export OPENSSL_NO_VENDOR=true
|
||
|
export RUSTONIG_SYSTEM_LIBONIG=1
|
||
|
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||
|
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||
|
export PKG_CONFIG_ALLOW_CROSS=1
|
||
|
|
||
|
local myfeatures=(
|
||
|
stable
|
||
|
$(usev extra)
|
||
|
)
|
||
|
|
||
|
cargo_src_configure
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
cargo_src_compile --workspace
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
cargo_src_install
|
||
|
local DOCS=( README.md docs/. )
|
||
|
einstalldocs
|
||
|
}
|