void-packages/srcpkgs/kmonad/template
slotThe 78955200f6 kmonad: update to 65b501defdd0049563752f8af8c8c57f5a1ae38b
The reason for updating to an unreleased version is that the author
(and core maintainer) of the project is chronically ill[1] and unable
to spend a lot of time on kmonad.  At the same time, there is a rather
large refactor on the way, without which a new release would not make
too much sense[2].  As such, updating to what's essentially HEAD makes
sense in this case; it is not any less stable than 0.4.1 (I've
personally been running this for months without any problems).  As a
bonus, we get GHC 9.0.2 compatibility for free and do not need to
cherry pick the relevant commits.

[1]: https://github.com/kmonad/kmonad#disclaimer
[2]: https://github.com/kmonad/kmonad/pull/372
2022-04-28 14:36:42 +02:00

20 lines
604 B
Bash

# Template file for 'kmonad'
pkgname=kmonad
version=65b501defdd0049563752f8af8c8c57f5a1ae38b
revision=1
build_style=haskell-stack
stackage=lts-19.0
short_desc="Keyboard remapping utility providing qmk-like functionality"
maintainer="slotThe <soliditsallgood@mailbox.org>"
license="MIT"
homepage="https://github.com/david-janssen/kmonad"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=2b0cb0c5d1575bf61b1c442476ad24103028c309d103fedb56214a3bb30f8c0f
nopie_files="/usr/bin/kmonad"
nocross=yes
post_install() {
vlicense LICENSE
vinstall ${FILESDIR}/60-kmonad.rules 644 usr/lib/udev/rules.d
}