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

# Autogenerated by pycargoebuild 0.15.0

EAPI=8

CRATES=""
RUST_MIN_VER="1.82.0"
inherit cargo

DESCRIPTION="A stack-based array programming language"
HOMEPAGE="https://www.uiua.org https://github.com/uiua-lang/uiua"
SRC_URI="
	https://github.com/uiua-lang/uiua/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"
if [[ ${PKGBUMPING} != ${PVR} ]]; then
	SRC_URI+="
		https://gentoo.kropotkin.rocks/distfiles/${P}-crates.tar.xz
	"
fi

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	0BSD Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 CDLA-Permissive-2.0 IJG
	ISC LGPL-3+ MIT MPL-2.0 UoI-NCSA OFL-1.1 UbuntuFontLicense-1.0
	Unicode-3.0 ZLIB
"

SLOT="0"
KEYWORDS="~amd64"

RESTRICT="mirror"
