Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions srcpkgs/numbat/patches/native-tls.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/numbat-exchange-rates/Cargo.toml b/numbat-exchange-rates/Cargo.toml
index a34b2ae..b3f8a08 100644
--- a/numbat-exchange-rates/Cargo.toml
+++ b/numbat-exchange-rates/Cargo.toml
@@ -11,7 +11,7 @@ rust-version = "1.88"

[dependencies]
attohttpc = { version = "0.27.0", default-features = false, features = [
- "tls-rustls-webpki-roots",
+ "tls-native",
], optional = true }
quick-xml = "0.37.5"

11 changes: 9 additions & 2 deletions srcpkgs/numbat/template
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# Template file for 'numbat'
pkgname=numbat
version=1.16.0
version=1.17.0
revision=1
build_wrksrc=numbat-cli
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Statically typed programming language for scientific computations"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0 OR MIT"
homepage="https://numbat.dev"
changelog="https://github.com/sharkdp/numbat/releases"
distfiles="https://github.com/sharkdp/numbat/archive/refs/tags/v${version}.tar.gz"
checksum=33f3744a31f62f7ebd985c6b3ec3c6a6d6f897527e8db5bc2de48dd299a63cdd
checksum=ea690466f12684e2a10c771ac6e707ba0a080eff9ecbf506ef57b76f3cb589a0

post_patch() {
# apply patched Cargo.toml changes to lockfile
cargo metadata > /dev/null
}

post_install() {
cd ${wrksrc}
Expand Down