2020-07-07 16:19:25 +00:00
|
|
|
{ appimageTools
|
|
|
|
, fetchurl
|
|
|
|
, lib
|
2022-10-13 22:16:16 +00:00
|
|
|
, xorg
|
2020-07-07 16:19:25 +00:00
|
|
|
, udev
|
|
|
|
, wooting-udev-rules
|
|
|
|
}:
|
2023-04-06 20:51:49 +00:00
|
|
|
|
2019-12-19 12:28:30 +00:00
|
|
|
appimageTools.wrapType2 rec {
|
2023-04-06 20:51:49 +00:00
|
|
|
pname = "wootility";
|
|
|
|
version = "4.5.0";
|
2019-12-19 12:28:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-04-06 20:51:49 +00:00
|
|
|
url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-lekker-linux-latest/wootility-lekker-${version}.AppImage";
|
|
|
|
sha256 = "sha256-5V1OpQZk234iKXOlpoXCbWPyixXkrWT8KkrGB92lPro=";
|
2019-12-19 12:28:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
profile = ''
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
'';
|
|
|
|
|
|
|
|
multiPkgs = extraPkgs;
|
|
|
|
extraPkgs =
|
2020-07-07 16:19:25 +00:00
|
|
|
pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ ([
|
|
|
|
udev
|
|
|
|
wooting-udev-rules
|
2022-10-13 22:16:16 +00:00
|
|
|
xorg.libxkbfile
|
2020-07-07 16:19:25 +00:00
|
|
|
]);
|
2023-04-06 20:51:49 +00:00
|
|
|
extraInstallCommands = "mv $out/bin/{${pname}-${version},${pname}}";
|
2019-12-19 12:28:30 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wooting.io/wootility";
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "A customization and management software for Wooting keyboards";
|
2019-12-19 12:28:30 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
license = "unknown";
|
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "wootility";
|
2019-12-19 12:28:30 +00:00
|
|
|
};
|
|
|
|
}
|