From 0adff0d66464254e4b4f695e902188acc1dff0da Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Sat, 27 Dec 2025 03:17:11 +0100 Subject: [PATCH] numbat: update to 1.17.0 --- srcpkgs/numbat/patches/native-tls.patch | 13 +++++++++++++ srcpkgs/numbat/template | 11 +++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/numbat/patches/native-tls.patch diff --git a/srcpkgs/numbat/patches/native-tls.patch b/srcpkgs/numbat/patches/native-tls.patch new file mode 100644 index 00000000000000..1e0ff14f387d46 --- /dev/null +++ b/srcpkgs/numbat/patches/native-tls.patch @@ -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" + diff --git a/srcpkgs/numbat/template b/srcpkgs/numbat/template index de22f3673a3a7e..113f022d24ecb7 100644 --- a/srcpkgs/numbat/template +++ b/srcpkgs/numbat/template @@ -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 " 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}