mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-embedded/probe-rs-tools: new package, add 0.31.0
Signed-off-by: AshyPinguin <pinguinlars1105+gentoo@gmail.com>
This commit is contained in:
39
dev-embedded/probe-rs-tools/probe-rs-tools-0.31.0.ebuild
Normal file
39
dev-embedded/probe-rs-tools/probe-rs-tools-0.31.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.15.1
|
||||
|
||||
EAPI=8
|
||||
RUST_MIN_VER="1.88"
|
||||
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="A collection of on chip debugging tools to communicate with microchips."
|
||||
HOMEPAGE="https://probe.rs"
|
||||
SRC_URI="
|
||||
https://github.com/probe-rs/probe-rs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://codeberg.org/AshyPinguin/vendor-tarballs/releases/download/${P}/${P}-crates.tar.xz
|
||||
"
|
||||
|
||||
S="${WORKDIR}/probe-rs-${PV}/probe-rs-tools"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT )"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
0BSD Apache-2.0 BSD-2 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0
|
||||
Unicode-3.0 Unlicense ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
for i in bash fish zsh; do
|
||||
SHELL="/usr/bin/${i}" "${D}/usr/bin/probe-rs" complete install --manual > "${T}/probe-rs.${i}"
|
||||
done
|
||||
|
||||
dobashcomp "${T}/probe-rs.bash"
|
||||
dofishcomp "${T}/probe-rs.fish"
|
||||
dozshcomp "${T}/probe-rs.zsh"
|
||||
}
|
||||
Reference in New Issue
Block a user