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

# Autogenerated by pycargoebuild 0.13.5

EAPI=8

CRATES="
	addr2line@0.21.0
	adler@1.0.2
	async-broadcast@0.7.0
	async-channel@2.2.1
	async-executor@1.11.0
	async-fs@2.1.2
	async-io@2.3.2
	async-lock@3.3.0
	async-process@2.2.2
	async-recursion@1.1.1
	async-signal@0.2.6
	async-task@4.7.1
	async-trait@0.1.80
	atomic-waker@1.1.2
	autocfg@1.3.0
	backtrace@0.3.71
	bitflags@2.5.0
	block-buffer@0.10.4
	blocking@1.6.0
	bytes@1.6.0
	cc@1.0.97
	cfg-if@1.0.0
	cfg_aliases@0.1.1
	concurrent-queue@2.5.0
	cpufeatures@0.2.12
	crossbeam-utils@0.8.19
	crypto-common@0.1.6
	digest@0.10.7
	endi@1.1.0
	enumflags2@0.7.9
	enumflags2_derive@0.7.9
	equivalent@1.0.1
	errno@0.3.9
	event-listener-strategy@0.4.0
	event-listener-strategy@0.5.2
	event-listener@4.0.3
	event-listener@5.3.0
	fastrand@2.1.0
	futures-core@0.3.30
	futures-io@0.3.30
	futures-lite@2.3.0
	futures-sink@0.3.30
	futures-task@0.3.30
	futures-util@0.3.30
	generic-array@0.14.7
	getrandom@0.2.15
	gimli@0.28.1
	hashbrown@0.14.5
	hermit-abi@0.3.9
	hex@0.4.3
	indexmap@2.2.6
	libc@0.2.154
	linux-raw-sys@0.4.13
	lock_api@0.4.12
	logind-zbus@4.0.3
	memchr@2.7.2
	memoffset@0.9.1
	miniz_oxide@0.7.2
	mio@0.8.11
	nix@0.28.0
	num_cpus@1.16.0
	object@0.32.2
	once_cell@1.19.0
	ordered-stream@0.2.0
	parking@2.2.0
	parking_lot@0.12.2
	parking_lot_core@0.9.10
	pin-project-lite@0.2.14
	pin-utils@0.1.0
	piper@0.2.1
	polling@3.7.0
	ppv-lite86@0.2.17
	proc-macro-crate@3.1.0
	proc-macro2@1.0.82
	quote@1.0.36
	rand@0.8.5
	rand_chacha@0.3.1
	rand_core@0.6.4
	redox_syscall@0.5.1
	rustc-demangle@0.1.24
	rustix@0.38.34
	scopeguard@1.2.0
	serde@1.0.201
	serde_derive@1.0.201
	serde_repr@0.1.19
	sha1@0.10.6
	signal-hook-registry@1.4.2
	slab@0.4.9
	smallvec@1.13.2
	socket2@0.5.7
	static_assertions@1.1.0
	syn@1.0.109
	syn@2.0.61
	tempfile@3.10.1
	tokio-macros@2.2.0
	tokio@1.37.0
	toml_datetime@0.6.5
	toml_edit@0.21.1
	tracing-attributes@0.1.27
	tracing-core@0.1.32
	tracing@0.1.40
	typenum@1.17.0
	uds_windows@1.1.0
	unicode-ident@1.0.12
	version_check@0.9.4
	wasi@0.11.0+wasi-snapshot-preview1
	winapi-i686-pc-windows-gnu@0.4.0
	winapi-x86_64-pc-windows-gnu@0.4.0
	winapi@0.3.9
	windows-sys@0.48.0
	windows-sys@0.52.0
	windows-targets@0.48.5
	windows-targets@0.52.5
	windows_aarch64_gnullvm@0.48.5
	windows_aarch64_gnullvm@0.52.5
	windows_aarch64_msvc@0.48.5
	windows_aarch64_msvc@0.52.5
	windows_i686_gnu@0.48.5
	windows_i686_gnu@0.52.5
	windows_i686_gnullvm@0.52.5
	windows_i686_msvc@0.48.5
	windows_i686_msvc@0.52.5
	windows_x86_64_gnu@0.48.5
	windows_x86_64_gnu@0.52.5
	windows_x86_64_gnullvm@0.48.5
	windows_x86_64_gnullvm@0.52.5
	windows_x86_64_msvc@0.48.5
	windows_x86_64_msvc@0.52.5
	winnow@0.5.40
	xdg-home@1.1.0
	zbus@4.2.1
	zbus_macros@4.2.1
	zbus_names@3.0.0
	zvariant@4.1.0
	zvariant_derive@4.1.0
	zvariant_utils@1.1.1
"

inherit cargo

DESCRIPTION="Daemon that bridges freedesktop.org ScreenSaver inhibitions to systemd-inhibit"
HOMEPAGE="https://codeberg.org/Scrumplex/inhibridge"
SRC_URI="
	https://codeberg.org/Scrumplex/inhibridge/archive/${PV}.tar.gz -> ${P}.tar.gz
	${CARGO_CRATE_URIS}
"
S="${WORKDIR}/${PN}"

LICENSE="AGPL-3+"
# Dependent crate licenses
LICENSE+=" MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"