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

# Autogenerated by pycargoebuild 0.16.0

EAPI=8

inherit cargo

DESCRIPTION="A tool to flash ironos to the pinecil soldering iron and possibly other pine64 devices in the future"
HOMEPAGE="https://github.com/Spagett1/PineFlash"

# use LFS for crate tarball in the portage-deps repo:
# git add foo-crates.tar.xz && git commit -a && git lfs migrate import --include=foo-crates.tar.xz --everything && git push

SRC_URI="
	https://github.com/Spagett1/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
	https://git.alfter.us/salfter/portage-deps/media/branch/master/${P}-crates.tar.xz
"

LICENSE="GPL-2"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1
	UbuntuFontLicense-1.0 Unicode-DFS-2016 ZLIB
"
SLOT="0"
KEYWORDS="~amd64"