freebsd-ports/finance/hyperswitch/Makefile

710 lines
15 KiB
Makefile

PORTNAME= hyperswitch
DISTVERSIONPREFIX= v
DISTVERSION= 1.106.1
PORTREVISION= 1
CATEGORIES= finance
MAINTAINER= yuri@FreeBSD.org
COMMENT= Payments switch that makes payments fast, reliable and affordable
WWW= https://hyperswitch.io/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= compilation fails: error[E0412]: cannot find type `AtomicU128` in module `core::sync::atomic`
LIB_DEPENDS= librdkafka.so:net/librdkafka \
libzstd.so:archivers/zstd
USES= cargo pgsql pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= juspay
CARGO_CRATES= actix-codec-0.5.1 \
actix-cors-0.6.4 \
actix-http-3.3.1 \
actix-macros-0.2.4 \
actix-multipart-0.6.1 \
actix-multipart-derive-0.6.1 \
actix-router-0.5.1 \
actix-rt-2.9.0 \
actix-server-2.3.0 \
actix-service-2.0.2 \
actix-tls-3.1.1 \
actix-utils-3.0.1 \
actix-web-4.3.1 \
actix-web-codegen-4.2.2 \
addr2line-0.21.0 \
adler-1.0.2 \
adler32-1.2.0 \
ahash-0.7.7 \
ahash-0.8.6 \
aho-corasick-1.1.1 \
alloc-no-stdlib-2.0.4 \
alloc-stdlib-0.2.2 \
allocator-api2-0.2.16 \
android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
anes-0.1.6 \
anstyle-1.0.0 \
anyhow-1.0.75 \
arc-swap-1.6.0 \
argon2-0.5.2 \
arrayref-0.3.7 \
arrayvec-0.7.4 \
asn1-rs-0.5.2 \
asn1-rs-derive-0.4.0 \
asn1-rs-impl-0.1.0 \
assert-json-diff-2.0.2 \
async-channel-1.9.0 \
async-compression-0.4.3 \
async-lock-2.8.0 \
async-stream-0.3.5 \
async-stream-impl-0.3.5 \
async-trait-0.1.73 \
atoi-1.0.0 \
atomic-0.5.3 \
autocfg-1.1.0 \
awc-3.1.1 \
aws-config-0.55.3 \
aws-credential-types-0.55.3 \
aws-endpoint-0.55.3 \
aws-http-0.55.3 \
aws-sdk-kms-0.28.0 \
aws-sdk-lambda-0.28.0 \
aws-sdk-s3-0.28.0 \
aws-sdk-sesv2-0.28.0 \
aws-sdk-sso-0.28.0 \
aws-sdk-sts-0.28.0 \
aws-sig-auth-0.55.3 \
aws-sigv4-0.55.3 \
aws-smithy-async-0.55.3 \
aws-smithy-checksums-0.55.3 \
aws-smithy-client-0.55.3 \
aws-smithy-eventstream-0.55.3 \
aws-smithy-http-0.55.3 \
aws-smithy-http-tower-0.55.3 \
aws-smithy-json-0.55.3 \
aws-smithy-query-0.55.3 \
aws-smithy-types-0.55.3 \
aws-smithy-xml-0.55.3 \
aws-types-0.55.3 \
axum-0.6.20 \
axum-core-0.3.4 \
backtrace-0.3.69 \
base64-0.13.1 \
base64-0.21.5 \
base64-simd-0.8.0 \
base64ct-1.6.0 \
bb8-0.8.1 \
bigdecimal-0.3.1 \
bincode-1.3.3 \
bit-set-0.5.3 \
bit-vec-0.6.3 \
bitflags-1.3.2 \
bitflags-2.4.0 \
bitvec-1.0.1 \
blake2-0.10.6 \
blake3-1.4.0 \
block-buffer-0.9.0 \
block-buffer-0.10.4 \
borsh-1.2.0 \
borsh-derive-1.2.0 \
brotli-3.4.0 \
brotli-decompressor-2.5.0 \
bstr-1.6.0 \
bumpalo-3.14.0 \
bytecheck-0.6.11 \
bytecheck_derive-0.6.11 \
bytecount-0.6.4 \
bytemuck-1.14.0 \
byteorder-1.5.0 \
bytes-0.4.12 \
bytes-1.5.0 \
bytes-utils-0.1.3 \
bytestring-1.3.0 \
camino-1.1.6 \
cargo-platform-0.1.3 \
cargo_metadata-0.14.2 \
cargo_metadata-0.15.4 \
cargo_metadata-0.18.1 \
cast-0.3.0 \
cc-1.0.83 \
cfb-0.7.3 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
cfg_aliases-0.1.1 \
checked_int_cast-1.0.0 \
chrono-0.4.31 \
chrono-tz-0.8.3 \
chrono-tz-build-0.2.0 \
ciborium-0.2.1 \
ciborium-io-0.2.1 \
ciborium-ll-0.2.1 \
clap-4.3.2 \
clap_builder-4.3.1 \
clap_derive-4.3.2 \
clap_lex-0.5.0 \
cloudabi-0.0.3 \
color_quant-1.1.0 \
concurrent-queue-2.3.0 \
config-0.13.3 \
constant_time_eq-0.2.6 \
convert_case-0.4.0 \
cookie-0.16.2 \
cookie-factory-0.3.2 \
core-foundation-0.9.3 \
core-foundation-sys-0.8.4 \
cpufeatures-0.2.9 \
crc-3.0.1 \
crc-catalog-2.4.0 \
crc16-0.4.0 \
crc32c-0.6.4 \
crc32fast-1.3.2 \
criterion-0.5.1 \
criterion-plot-0.5.0 \
crossbeam-channel-0.5.8 \
crossbeam-deque-0.7.4 \
crossbeam-deque-0.8.3 \
crossbeam-epoch-0.8.2 \
crossbeam-epoch-0.9.15 \
crossbeam-queue-0.2.3 \
crossbeam-queue-0.3.8 \
crossbeam-utils-0.7.2 \
crossbeam-utils-0.8.16 \
crypto-common-0.1.6 \
darling-0.20.3 \
darling_core-0.20.3 \
darling_macro-0.20.3 \
dashmap-5.5.3 \
data-encoding-2.4.0 \
deadpool-0.9.5 \
deadpool-runtime-0.1.3 \
deflate-0.8.6 \
der-parser-8.2.0 \
derive_deref-1.1.1 \
derive_more-0.99.17 \
deunicode-0.4.4 \
diesel-2.1.3 \
diesel_derives-2.1.2 \
diesel_table_macro_syntax-0.1.0 \
digest-0.9.0 \
digest-0.10.7 \
digits_iterator-0.1.0 \
dirs-4.0.0 \
dirs-sys-0.3.7 \
displaydoc-0.2.4 \
dlv-list-0.3.0 \
dotenvy-0.15.7 \
dyn-clone-1.0.14 \
either-1.9.0 \
encoding_rs-0.8.33 \
equivalent-1.0.1 \
erased-serde-0.3.31 \
errno-0.3.4 \
errno-dragonfly-0.1.2 \
error-chain-0.12.4 \
error-stack-0.3.1 \
event-listener-2.5.3 \
fake-2.8.0 \
fantoccini-0.19.3 \
fastrand-1.9.0 \
fastrand-2.0.1 \
finl_unicode-1.2.0 \
flate2-1.0.27 \
float-cmp-0.9.0 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.2.0 \
fred-7.0.0 \
frunk-0.4.2 \
frunk_core-0.4.2 \
frunk_derives-0.4.2 \
frunk_proc_macro_helpers-0.1.2 \
frunk_proc_macros-0.1.2 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
funty-2.0.0 \
futures-0.1.31 \
futures-0.3.28 \
futures-channel-0.3.28 \
futures-core-0.3.28 \
futures-executor-0.3.28 \
futures-intrusive-0.4.2 \
futures-io-0.3.28 \
futures-lite-1.13.0 \
futures-macro-0.3.28 \
futures-sink-0.3.28 \
futures-task-0.3.28 \
futures-timer-3.0.2 \
futures-util-0.3.28 \
generic-array-0.14.7 \
gethostname-0.4.3 \
getrandom-0.1.16 \
getrandom-0.2.11 \
gif-0.11.4 \
gimli-0.28.0 \
git2-0.17.2 \
glob-0.3.1 \
globset-0.4.13 \
globwalk-0.8.1 \
h2-0.3.21 \
half-1.8.2 \
hashbrown-0.12.3 \
hashbrown-0.14.3 \
hashlink-0.8.4 \
headers-0.3.9 \
headers-core-0.2.0 \
heck-0.4.1 \
hermit-abi-0.3.3 \
hex-0.4.3 \
hkdf-0.12.3 \
hmac-0.12.1 \
http-0.2.9 \
http-body-0.4.5 \
http-types-2.12.0 \
httparse-1.8.0 \
httpdate-1.0.3 \
humansize-2.1.3 \
hyper-0.14.27 \
hyper-proxy-0.9.1 \
hyper-rustls-0.23.2 \
hyper-timeout-0.4.1 \
hyper-tls-0.5.0 \
iana-time-zone-0.1.58 \
iana-time-zone-haiku-0.1.2 \
ident_case-1.0.1 \
idna-0.4.0 \
ignore-0.4.20 \
image-0.23.14 \
impl-more-0.1.6 \
indexmap-1.9.3 \
indexmap-2.1.0 \
infer-0.2.3 \
infer-0.13.0 \
instant-0.1.12 \
iovec-0.1.4 \
ipnet-2.8.0 \
is-terminal-0.4.9 \
itertools-0.10.5 \
itertools-0.11.0 \
itoa-1.0.9 \
jobserver-0.1.26 \
josekit-0.8.3 \
jpeg-decoder-0.1.22 \
js-sys-0.3.64 \
json5-0.4.1 \
jsonwebtoken-8.3.0 \
kernel32-sys-0.2.2 \
language-tags-0.3.2 \
lazy_static-1.4.0 \
libc-0.2.150 \
libgit2-sys-0.15.2+1.6.4 \
libm-0.2.8 \
libmimalloc-sys-0.1.35 \
libz-sys-1.1.12 \
linked-hash-map-0.5.6 \
linux-raw-sys-0.4.8 \
local-channel-0.1.4 \
local-waker-0.1.3 \
lock_api-0.3.4 \
lock_api-0.4.10 \
log-0.4.20 \
lru-cache-0.1.2 \
luhn-1.0.1 \
mach2-0.4.1 \
matchers-0.1.0 \
matchit-0.7.3 \
maud-0.25.0 \
maud_macros-0.25.0 \
maybe-uninit-2.0.0 \
md-5-0.10.6 \
md5-0.7.0 \
memchr-2.6.4 \
memoffset-0.5.6 \
memoffset-0.9.0 \
mimalloc-0.1.39 \
mime-0.3.17 \
mime_guess-2.0.4 \
minimal-lexical-0.2.1 \
miniz_oxide-0.3.7 \
miniz_oxide-0.4.4 \
miniz_oxide-0.7.1 \
mio-0.6.23 \
mio-0.8.8 \
mio-uds-0.6.8 \
miow-0.2.2 \
moka-0.12.1 \
mutually_exclusive_features-0.0.3 \
nanoid-0.4.0 \
native-tls-0.2.11 \
net2-0.2.39 \
nom-7.1.3 \
nu-ansi-term-0.46.0 \
num-bigint-0.4.4 \
num-integer-0.1.45 \
num-iter-0.1.43 \
num-rational-0.3.2 \
num-traits-0.2.17 \
num_cpus-1.16.0 \
num_enum-0.5.11 \
num_enum_derive-0.5.11 \
object-0.32.1 \
oid-registry-0.6.1 \
once_cell-1.18.0 \
oncemutex-0.1.1 \
oorandom-11.1.3 \
opaque-debug-0.3.0 \
openssl-0.10.60 \
openssl-macros-0.1.1 \
openssl-probe-0.1.5 \
openssl-sys-0.9.96 \
opentelemetry-0.19.0 \
opentelemetry-otlp-0.12.0 \
opentelemetry-proto-0.2.0 \
opentelemetry_api-0.19.0 \
opentelemetry_sdk-0.19.0 \
ordered-multimap-0.4.3 \
outref-0.5.1 \
overload-0.1.1 \
parking-2.1.1 \
parking_lot-0.9.0 \
parking_lot-0.11.2 \
parking_lot-0.12.1 \
parking_lot_core-0.6.3 \
parking_lot_core-0.8.6 \
parking_lot_core-0.9.8 \
parse-size-1.0.0 \
parse-zoneinfo-0.3.0 \
password-hash-0.5.0 \
paste-1.0.14 \
pathdiff-0.2.1 \
pem-1.1.1 \
percent-encoding-2.3.0 \
pest-2.7.4 \
pest_derive-2.7.4 \
pest_generator-2.7.4 \
pest_meta-2.7.4 \
phf-0.11.2 \
phf_codegen-0.11.2 \
phf_generator-0.11.2 \
phf_shared-0.11.2 \
phonenumber-0.3.3+8.13.9 \
pin-project-1.1.3 \
pin-project-internal-1.1.3 \
pin-project-lite-0.2.13 \
pin-utils-0.1.0 \
pkg-config-0.3.27 \
plotters-0.3.5 \
plotters-backend-0.3.5 \
plotters-svg-0.3.5 \
png-0.16.8 \
ppv-lite86-0.2.17 \
pq-sys-0.4.8 \
proc-macro-crate-1.3.1 \
proc-macro-crate-2.0.0 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.70 \
proptest-1.3.1 \
prost-0.11.9 \
prost-derive-0.11.9 \
ptr_meta-0.1.4 \
ptr_meta_derive-0.1.4 \
pulldown-cmark-0.9.3 \
qrcode-0.12.0 \
quanta-0.11.1 \
quick-error-1.2.3 \
quick-xml-0.28.2 \
quick-xml-0.31.0 \
quote-1.0.33 \
r2d2-0.8.10 \
radium-0.7.0 \
rand-0.7.3 \
rand-0.8.5 \
rand_chacha-0.2.2 \
rand_chacha-0.3.1 \
rand_core-0.5.1 \
rand_core-0.6.4 \
rand_hc-0.2.0 \
rand_xorshift-0.3.0 \
raw-cpuid-10.7.0 \
rayon-1.8.0 \
rayon-core-1.12.0 \
rdkafka-0.36.0 \
rdkafka-sys-4.7.0+2.3.0 \
redis-protocol-4.1.0 \
redox_syscall-0.1.57 \
redox_syscall-0.2.16 \
redox_syscall-0.3.5 \
redox_users-0.4.3 \
regex-1.9.6 \
regex-automata-0.1.10 \
regex-automata-0.3.9 \
regex-cache-0.2.1 \
regex-syntax-0.6.29 \
regex-syntax-0.7.5 \
rend-0.4.1 \
reqwest-0.11.22 \
retain_mut-0.1.9 \
ring-0.16.20 \
rkyv-0.7.42 \
rkyv_derive-0.7.42 \
ron-0.7.1 \
ron-parser-0.1.4 \
roxmltree-0.18.1 \
rust-embed-6.8.1 \
rust-embed-impl-6.8.1 \
rust-embed-utils-7.8.1 \
rust-ini-0.18.0 \
rust_decimal-1.33.1 \
rust_decimal_macros-1.33.1 \
rustc-demangle-0.1.23 \
rustc-hash-1.1.0 \
rustc_version-0.2.3 \
rustc_version-0.4.0 \
rusticata-macros-4.1.0 \
rustix-0.38.17 \
rustls-0.20.9 \
rustls-0.21.7 \
rustls-native-certs-0.6.3 \
rustls-pemfile-1.0.3 \
rustls-webpki-0.101.6 \
rustversion-1.0.14 \
rusty-fork-0.3.0 \
rusty-money-0.4.1 \
ryu-1.0.15 \
same-file-1.0.6 \
schannel-0.1.22 \
scheduled-thread-pool-0.2.7 \
scoped_threadpool-0.1.9 \
scopeguard-1.2.0 \
sct-0.7.0 \
seahash-4.1.0 \
security-framework-2.9.2 \
security-framework-sys-2.9.1 \
semver-0.9.0 \
semver-1.0.19 \
semver-parser-0.7.0 \
serde-1.0.193 \
serde-wasm-bindgen-0.5.0 \
serde_derive-1.0.193 \
serde_json-1.0.108 \
serde_path_to_error-0.1.14 \
serde_plain-1.0.2 \
serde_qs-0.8.5 \
serde_qs-0.12.0 \
serde_repr-0.1.16 \
serde_spanned-0.6.3 \
serde_urlencoded-0.7.1 \
serde_with-3.4.0 \
serde_with_macros-3.4.0 \
serial_test-2.0.0 \
serial_test_derive-2.0.0 \
sha-1-0.9.8 \
sha1-0.10.6 \
sha2-0.10.8 \
sharded-slab-0.1.7 \
shellexpand-2.1.2 \
signal-hook-0.3.17 \
signal-hook-registry-1.4.1 \
signal-hook-tokio-0.3.1 \
simdutf8-0.1.4 \
simple_asn1-0.6.2 \
siphasher-0.3.11 \
skeptic-0.13.7 \
slab-0.4.9 \
slug-0.1.4 \
smallvec-0.6.14 \
smallvec-1.11.1 \
socket2-0.4.9 \
socket2-0.5.4 \
spin-0.5.2 \
sqlformat-0.2.2 \
sqlx-0.6.3 \
sqlx-core-0.6.3 \
sqlx-macros-0.6.3 \
sqlx-rt-0.6.3 \
stringmatch-0.4.0 \
stringprep-0.1.4 \
strsim-0.10.0 \
strum-0.24.1 \
strum-0.25.0 \
strum_macros-0.24.3 \
strum_macros-0.25.2 \
subtle-2.4.1 \
syn-1.0.109 \
syn-2.0.39 \
syn_derive-0.1.8 \
sync_wrapper-0.1.2 \
synstructure-0.12.6 \
system-configuration-0.5.1 \
system-configuration-sys-0.5.0 \
tagptr-0.2.0 \
tap-1.0.1 \
tempfile-3.8.0 \
tera-1.19.1 \
test-case-3.2.1 \
test-case-core-3.2.1 \
test-case-macros-3.2.1 \
thirtyfour-0.31.0 \
thirtyfour-macros-0.1.1 \
thiserror-1.0.49 \
thiserror-impl-1.0.49 \
thread_local-1.1.7 \
tiff-0.6.1 \
time-0.3.23 \
time-core-0.1.1 \
time-macros-0.2.10 \
tinytemplate-1.2.1 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.1 \
tokio-0.1.22 \
tokio-1.32.0 \
tokio-codec-0.1.2 \
tokio-current-thread-0.1.7 \
tokio-executor-0.1.10 \
tokio-fs-0.1.7 \
tokio-io-0.1.13 \
tokio-io-timeout-1.2.0 \
tokio-macros-2.1.0 \
tokio-native-tls-0.3.1 \
tokio-reactor-0.1.12 \
tokio-rustls-0.23.4 \
tokio-stream-0.1.14 \
tokio-sync-0.1.8 \
tokio-tcp-0.1.4 \
tokio-threadpool-0.1.18 \
tokio-timer-0.2.13 \
tokio-udp-0.1.6 \
tokio-uds-0.2.7 \
tokio-util-0.7.9 \
toml-0.5.11 \
toml-0.7.4 \
toml_datetime-0.6.3 \
toml_edit-0.19.14 \
toml_edit-0.20.2 \
tonic-0.8.3 \
tower-0.4.13 \
tower-layer-0.3.2 \
tower-service-0.3.2 \
tracing-0.1.36 \
tracing-actix-web-0.7.9 \
tracing-appender-0.2.2 \
tracing-attributes-0.1.22 \
tracing-core-0.1.31 \
tracing-futures-0.2.5 \
tracing-log-0.1.3 \
tracing-opentelemetry-0.19.0 \
tracing-serde-0.1.3 \
tracing-subscriber-0.3.17 \
triomphe-0.1.9 \
try-lock-0.2.4 \
typenum-1.17.0 \
ucd-trie-0.1.6 \
unarray-0.1.4 \
unic-char-property-0.9.0 \
unic-char-range-0.9.0 \
unic-common-0.9.0 \
unic-segment-0.9.0 \
unic-ucd-segment-0.9.0 \
unic-ucd-version-0.9.0 \
unicase-2.7.0 \
unicode-bidi-0.3.13 \
unicode-ident-1.0.12 \
unicode-normalization-0.1.22 \
unicode-segmentation-1.10.1 \
unicode-xid-0.2.4 \
unicode_categories-0.1.1 \
unidecode-0.3.0 \
untrusted-0.7.1 \
url-2.4.1 \
urlencoding-2.1.3 \
urlparse-0.7.3 \
utoipa-3.5.0 \
utoipa-gen-3.5.0 \
utoipa-swagger-ui-3.1.5 \
uuid-1.4.1 \
validator-0.16.1 \
valuable-0.1.0 \
vcpkg-0.2.15 \
vergen-8.2.1 \
version_check-0.9.4 \
vsimd-0.8.0 \
wait-timeout-0.2.0 \
waker-fn-1.1.1 \
walkdir-2.4.0 \
want-0.3.1 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.11.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.87 \
wasm-bindgen-backend-0.2.87 \
wasm-bindgen-futures-0.4.37 \
wasm-bindgen-macro-0.2.87 \
wasm-bindgen-macro-support-0.2.87 \
wasm-bindgen-shared-0.2.87 \
web-sys-0.3.64 \
webdriver-0.46.0 \
webpki-0.22.2 \
webpki-roots-0.22.6 \
weezl-0.1.7 \
whoami-1.4.1 \
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.6 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-core-0.51.1 \
windows-sys-0.48.0 \
windows-targets-0.48.5 \
windows_aarch64_gnullvm-0.48.5 \
windows_aarch64_msvc-0.48.5 \
windows_i686_gnu-0.48.5 \
windows_i686_msvc-0.48.5 \
windows_x86_64_gnu-0.48.5 \
windows_x86_64_gnullvm-0.48.5 \
windows_x86_64_msvc-0.48.5 \
winnow-0.5.19 \
winreg-0.50.0 \
wiremock-0.5.18 \
ws2_32-sys-0.2.1 \
wyz-0.5.1 \
x509-parser-0.15.1 \
xmlparser-0.13.6 \
yaml-rust-0.4.5 \
zerocopy-0.7.31 \
zerocopy-derive-0.7.31 \
zeroize-1.6.0 \
zip-0.6.6 \
zstd-0.12.4 \
zstd-safe-6.0.6 \
zstd-sys-2.0.8+zstd.1.5.5 \
async-bb8-diesel@git+https://github.com/jarnura/async-bb8-diesel?rev=53b4ab901aab7635c8215fd1c2d542c8db443094\#53b4ab901aab7635c8215fd1c2d542c8db443094
RUSTFLAGS+= --cfg uuid_unstable
OPENSSLINC= /usr/include
OPENSSLLIB= /usr/lib
PROGS= analytics \
config_importer \
drainer \
router \
scheduler
MAKE_ENV= CARGO_FEATURE_DYNAMIC_LINKING=1
PLIST_FILES= ${PROGS:S/^/bin\/&/}
do-install:
# binaries (workaround for error: found a virtual manifest at `xx` instead of a package manifest)
.for p in ${PROGS}
${INSTALL_PROGRAM} \
${WRKDIR}/target/*/release/${p} \
${STAGEDIR}${PREFIX}/bin
.endfor
.include <bsd.port.mk>