kanata: add update script

This commit is contained in:
Lin Jian 2024-08-13 18:03:23 +08:00
parent df75cd268a
commit 1756f4faa9
No known key found for this signature in database
GPG Key ID: A6698D36434F75A5

View File

@ -5,6 +5,7 @@
, fetchFromGitHub
, jq
, moreutils
, nix-update-script
, withCmd ? false
}:
@ -50,6 +51,10 @@ rustPlatform.buildRustPackage rec {
install -Dm 444 assets/kanata-icon.svg $out/share/icons/hicolor/scalable/apps/kanata.svg
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Tool to improve keyboard comfort and usability with advanced customization";
homepage = "https://github.com/jtroo/kanata";