# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.2

EAPI=8

RUST_MIN_VER="1.88.0"
CRATES="
	aho-corasick@1.1.4
	allocator-api2@0.2.21
	bitflags@2.13.0
	castaway@0.2.4
	cfg-if@1.0.4
	compact_str@0.9.1
	either@1.16.0
	equivalent@1.0.2
	fnv@1.0.7
	foldhash@0.2.0
	hashbrown@0.16.1
	hashbrown@0.17.1
	heck@0.5.0
	itertools@0.14.0
	itoa@1.0.18
	kasuari@0.4.12
	logos-codegen@0.16.1
	logos-derive@0.16.1
	logos@0.16.1
	lru@0.18.1
	memchr@2.8.3
	proc-macro2@1.0.106
	quote@1.0.46
	ratatui-core@0.1.2
	regex-automata@0.4.14
	regex-syntax@0.8.11
	rustversion@1.0.23
	ryu@1.0.23
	static_assertions@1.1.0
	strum@0.28.0
	strum_macros@0.28.0
	syn@2.0.118
	thiserror-impl@2.0.18
	thiserror@2.0.18
	unicode-ident@1.0.24
	unicode-segmentation@1.13.3
	unicode-truncate@2.0.1
	unicode-width@0.2.2
"

inherit cargo

DESCRIPTION="Terminal math rendering engine"
HOMEPAGE="https://github.com/thatmagicalcat/txm"
SRC_URI="
	https://github.com/thatmagicalcat/txm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"

LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+="
	MIT Unicode-3.0 ZLIB
	|| ( Apache-2.0 Boost-1.0 )
"
SLOT="0"
KEYWORDS="~amd64"

QA_FLAGS_IGNORED="
	usr/bin/txm
"