# Template file for 'hid-tools'.
pkgname=hid-tools
version=0.12
revision=1
build_style=python3-pep517
hostmakedepends="hatchling python3-pypandoc"
depends="python3-parse python3-click python3-yaml python3-typing_extensions
 python3-pyudev python3-libevdev python3-pyroute2"
short_desc="Set of tools to interact with the kernel's HID subsystem"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.freedesktop.org/libevdev/hid-tools"
distfiles="https://gitlab.freedesktop.org/libevdev/hid-tools/-/archive/${version}/hid-tools-${version}.tar.gz"
checksum=6feef73a173010cdb1833b7b191564383c8c6be301ef73632721c76510d7b03b

post_patch() {
	vsed -e 's/pypandoc_binary/pypandoc/' -i pyproject.toml
}
