diff --git a/srcpkgs/wally-cli/INSTALL.msg b/srcpkgs/wally-cli/INSTALL.msg deleted file mode 100644 index 6313b5615ba..00000000000 --- a/srcpkgs/wally-cli/INSTALL.msg +++ /dev/null @@ -1,3 +0,0 @@ -Please add your user to the group 'plugdev' by executing the following: - -usermod -aG plugdev "$USER" diff --git a/srcpkgs/wally-cli/files/50-wally.rules b/srcpkgs/wally-cli/files/50-wally.rules deleted file mode 100644 index 742cde5c1f9..00000000000 --- a/srcpkgs/wally-cli/files/50-wally.rules +++ /dev/null @@ -1,11 +0,0 @@ -# These rules are derived from the instructions at -# https://github.com/zsa/wally/wiki/Linux-install#2-create-a-udev-rule-file - -# Teensy rules for the Ergodox EZ -ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1" -ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1" -SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666" -KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666" - -# STM32 rules for the Moonlander and Planck EZ -SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE:="0666", SYMLINK+="stm32_dfu" \ No newline at end of file diff --git a/srcpkgs/wally-cli/template b/srcpkgs/wally-cli/template index 3c70966e7b6..93c694c2e8f 100644 --- a/srcpkgs/wally-cli/template +++ b/srcpkgs/wally-cli/template @@ -1,23 +1,21 @@ # Template file for 'wally-cli' pkgname=wally-cli version=2.0.0 -revision=1 +revision=2 wrksrc="wally-cli-${version}-linux" build_style=go go_import_path="github.com/zsa/wally-cli" hostmakedepends="pkg-config" makedepends="libusb-devel pkg-config go-bindata" +depends="wally-udev-rules" short_desc="Flashing firmware for ZSA keyboards" maintainer="Wayne Van Son " license="MIT" homepage="https://www.zsa.io/wally/" distfiles="https://github.com/zsa/wally-cli/archive/${version}-linux.tar.gz" -checksum="2641c7deededeeba1aecf6b3ae3e87050a0cfd81c8b41323b2304ebe21e61745" -conf_files="/usr/lib/udev/rules.d/50-wally.rules" -system_groups="plugdev" +checksum=2641c7deededeeba1aecf6b3ae3e87050a0cfd81c8b41323b2304ebe21e61745 post_install() { # vendoring license is obsolete in the next release vlicense "$FILESDIR/LICENSE" - vinstall "$FILESDIR/50-wally.rules" 0644 /usr/lib/udev/rules.d }