app-emulation/uhyve - 0.7.0 (zscheile)

Search

Package Information

Description:
A specialized hypervisor for Hermit
Homepage:
https://github.com/hermit-os/uhyve
License:
|| ( Apache-2.0 MIT ) 0BSD BSD ISC Unicode-3.0

Ebuild Details

Version EAPI Keywords Slot
0.7.0 8 ~amd64 0.7
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.15.0

EAPI=8

CRATES="
	aarch64-cpu@10.0.0
	aarch64@0.0.14
	ahash@0.7.8
	aho-corasick@1.1.3
	align-address@0.3.0
	alloca@0.4.0
	anes@0.1.6
	anstream@0.6.20
	anstyle-parse@0.2.7
	anstyle-query@1.1.4
	anstyle-wincon@3.0.10
	anstyle@1.0.11
	arrayvec@0.7.6
	autocfg@1.5.0
	bindgen@0.71.1
	bit_field@0.10.2
	bitflags@1.3.2
	bitflags@2.10.0
	bitvec@1.0.1
	borsh-derive@1.5.7
	borsh@1.5.7
	bumpalo@3.19.0
	byte-unit@5.2.0
	bytecheck@0.6.12
	bytecheck_derive@0.6.12
	byteorder@1.5.0
	bytes@1.10.1
	cast@0.3.0
	cc@1.2.32
	cexpr@0.6.0
	cfg-if@1.0.1
	cfg_aliases@0.2.1
	ciborium-io@0.2.2
	ciborium-ll@0.2.2
	ciborium@0.2.2
	clang-sys@1.8.1
	clap@4.5.54
	clap_builder@4.5.54
	clap_derive@4.5.49
	clap_lex@0.7.5
	clean-path@0.2.1
	colorchoice@1.0.4
	const_fn@0.4.11
	const_parse@1.0.0
	core_affinity@0.8.3
	criterion-plot@0.8.1
	criterion@0.8.1
	crossbeam-deque@0.8.6
	crossbeam-epoch@0.9.18
	crossbeam-utils@0.8.21
	crunchy@0.2.4
	deranged@0.5.3
	dyn-clone@1.0.20
	either@1.15.0
	enumflags2@0.7.12
	enumflags2_derive@0.7.12
	env_filter@0.1.3
	env_logger@0.11.8
	equivalent@1.0.2
	errno@0.3.13
	fastrand@2.3.0
	funty@2.0.0
	gdbstub@0.7.8
	gdbstub_arch@0.3.2
	getrandom@0.2.16
	getrandom@0.3.3
	glob@0.3.3
	goblin@0.10.0
	half@2.6.0
	hashbrown@0.12.3
	hashbrown@0.15.5
	heck@0.5.0
	hermit-abi@0.5.2
	hermit-entry@0.10.7
	home@0.5.12
	indexmap@2.11.4
	is_terminal_polyfill@1.70.1
	itertools@0.13.0
	itoa@1.0.15
	jiff-static@0.2.15
	jiff@0.2.15
	js-sys@0.3.77
	kvm-bindings@0.14.0
	kvm-ioctls@0.24.0
	landlock@0.4.4
	libc@0.2.179
	libloading@0.8.8
	linux-raw-sys@0.11.0
	llvm-tools@0.1.1
	log@0.4.29
	mac_address@1.1.8
	managed@0.8.0
	memchr@2.7.5
	memoffset@0.9.1
	memory_addresses@0.2.3
	merge@0.2.0
	merge_derive@0.2.0
	minimal-lexical@0.2.1
	nix@0.29.0
	nix@0.30.1
	nohash@0.2.0
	nom@7.1.3
	ntapi@0.4.1
	num-conv@0.1.0
	num-traits@0.2.19
	num_cpus@1.17.0
	num_enum@0.7.5
	num_enum_derive@0.7.5
	objc2-core-foundation@0.3.1
	objc2-io-kit@0.3.1
	once_cell@1.21.3
	once_cell_polyfill@1.70.1
	oorandom@11.1.5
	page_size@0.6.0
	paste@1.0.15
	plain@0.2.3
	plotters-backend@0.3.7
	plotters-svg@0.3.7
	plotters@0.3.7
	portable-atomic-util@0.2.4
	portable-atomic@1.11.1
	powerfmt@0.2.0
	ppv-lite86@0.2.21
	prettyplease@0.2.36
	proc-macro-crate@3.3.0
	proc-macro-error-attr2@2.0.0
	proc-macro-error2@2.0.1
	proc-macro2@1.0.97
	ptr_meta@0.1.4
	ptr_meta_derive@0.1.4
	quote@1.0.40
	r-efi@5.3.0
	radium@0.7.0
	rand@0.8.5
	rand@0.9.2
	rand_chacha@0.3.1
	rand_chacha@0.9.0
	rand_core@0.6.4
	rand_core@0.9.3
	raw-cpuid@10.7.0
	raw-cpuid@11.6.0
	rayon-core@1.12.1
	rayon@1.10.0
	ref-cast-impl@1.0.25
	ref-cast@1.0.25
	regex-automata@0.4.12
	regex-syntax@0.8.5
	regex@1.12.2
	rend@0.4.2
	rftrace-frontend@0.3.2
	rftrace@0.3.2
	rkyv@0.7.45
	rkyv_derive@0.7.45
	rust_decimal@1.37.2
	rustc-hash@2.1.1
	rustix@1.1.3
	rustversion@1.0.22
	ryu@1.0.20
	same-file@1.0.6
	schemars@1.1.0
	scroll@0.13.0
	seahash@4.1.0
	serde@1.0.228
	serde_core@1.0.228
	serde_derive@1.0.228
	serde_json@1.0.142
	serde_spanned@1.0.4
	shell-words@1.1.1
	shlex@1.3.0
	simdutf8@0.1.5
	stable_deref_trait@1.2.1
	strsim@0.11.1
	syn@1.0.109
	syn@2.0.104
	sysinfo@0.37.2
	tap@1.0.1
	tempfile@3.24.0
	thiserror-impl@2.0.17
	thiserror@2.0.17
	time-core@0.1.6
	time@0.3.44
	tinytemplate@1.2.1
	tinyvec@1.9.0
	tinyvec_macros@0.1.1
	tock-registers@0.9.0
	toml@0.9.10+spec-1.1.0
	toml_datetime@0.6.11
	toml_datetime@0.7.5+spec-1.1.0
	toml_edit@0.22.27
	toml_parser@1.0.6+spec-1.1.0
	toml_writer@1.0.6+spec-1.1.0
	tun-tap@0.1.4
	unicode-ident@1.0.18
	utf8-width@0.1.7
	utf8parse@0.2.2
	uuid@1.19.0
	version_check@0.9.5
	virtio-bindings@0.2.5
	vm-fdt@0.3.0
	vmm-sys-util@0.15.0
	volatile@0.4.6
	walkdir@2.5.0
	wasi@0.11.1+wasi-snapshot-preview1
	wasi@0.14.2+wasi-0.2.4
	wasm-bindgen-backend@0.2.100
	wasm-bindgen-macro-support@0.2.100
	wasm-bindgen-macro@0.2.100
	wasm-bindgen-shared@0.2.100
	wasm-bindgen@0.2.100
	web-sys@0.3.77
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-util@0.1.9
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-collections@0.2.0
	windows-core@0.61.2
	windows-future@0.2.1
	windows-implement@0.60.0
	windows-interface@0.59.1
	windows-link@0.1.3
	windows-link@0.2.1
	windows-numerics@0.2.0
	windows-result@0.3.4
	windows-strings@0.4.2
	windows-sys@0.59.0
	windows-sys@0.60.2
	windows-sys@0.61.2
	windows-targets@0.52.6
	windows-targets@0.53.3
	windows-threading@0.1.0
	windows@0.61.3
	windows_aarch64_gnullvm@0.52.6
	windows_aarch64_gnullvm@0.53.0
	windows_aarch64_msvc@0.52.6
	windows_aarch64_msvc@0.53.0
	windows_i686_gnu@0.52.6
	windows_i686_gnu@0.53.0
	windows_i686_gnullvm@0.52.6
	windows_i686_gnullvm@0.53.0
	windows_i686_msvc@0.52.6
	windows_i686_msvc@0.53.0
	windows_x86_64_gnu@0.52.6
	windows_x86_64_gnu@0.53.0
	windows_x86_64_gnullvm@0.52.6
	windows_x86_64_gnullvm@0.53.0
	windows_x86_64_msvc@0.52.6
	windows_x86_64_msvc@0.53.0
	winnow@0.7.13
	wit-bindgen-rt@0.39.0
	wyz@0.5.1
	x86@0.52.0
	x86_64@0.15.4
	xhypervisor@0.3.0
	yoke@0.8.1
	zerocopy-derive@0.8.26
	zerocopy@0.8.26
	zerofrom@0.1.6
"

RUST_MIN_VER="1.88"

CONFIG_CHECK="~KVM ~SECURITY_LANDLOCK"

inherit cargo linux-info

DESCRIPTION="A specialized hypervisor for Hermit"
HOMEPAGE="https://github.com/hermit-os/uhyve"
SRC_URI="
	${CARGO_CRATE_URIS}
	https://github.com/hermit-os/uhyve/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"

LICENSE="|| ( Apache-2.0 MIT )"
# Dependent crate licenses
LICENSE+=" 0BSD BSD ISC Unicode-3.0"
SLOT="0.7"
KEYWORDS="~amd64"

IUSE+=" instrument"

BDEPEND="
	${BDEPEND}
	llvm-core/clang:*
"

DEPEND="
	${DEPEND}
	kernel_linux? ( sys-kernel/linux-headers )
"

RDEPEND="
	instrument? ( dev-util/uftrace )
"

pkg_setup() {
	linux-info_pkg_setup
	rust_pkg_setup
}

src_configure() {
	local myfeatures=(
		$(usev instrument)
	)
	cargo_src_configure
}

src_install() {
	cargo_src_install

	mv "${ED}/usr/bin/${PN}" "${ED}/usr/bin/${PN}-${SLOT%/*}" || die "renaming executable failed"
}

USE Flags

Dependencies

DEPEND

	${DEPEND}
	kernel_linux? ( sys-kernel/linux-headers )

RDEPEND

	instrument? ( dev-util/uftrace )

BDEPEND

	${BDEPEND}
	llvm-core/clang:*

Manifest for 0.7.0

Type File Size Source URLs
DIST uhyve-0.7.0.tar.gz 1798736 bytes https://github.com/hermit-os/uhyve/archive/refs/tags/v0.7.0.tar.gz