2020-07-18 16:06:22 +00:00
|
|
|
{ appimageTools
|
|
|
|
, fetchurl
|
|
|
|
, lib
|
2022-10-21 18:38:19 +00:00
|
|
|
, xorg
|
2020-07-18 16:06:22 +00:00
|
|
|
, udev
|
|
|
|
, wooting-udev-rules
|
|
|
|
}:
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
appimageTools.wrapType2 rec {
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "wootility";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "4.6.15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-07-15 17:15:38 +00:00
|
|
|
url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-lekker-linux-latest/wootility-lekker-${version}.AppImage";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-A/cjm9rhcgp68hbyjy7OfYPBKBcccl0OdD7MTdpEdPM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
profile = ''
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
'';
|
|
|
|
|
|
|
|
multiPkgs = extraPkgs;
|
|
|
|
extraPkgs =
|
2020-07-18 16:06:22 +00:00
|
|
|
pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ ([
|
|
|
|
udev
|
|
|
|
wooting-udev-rules
|
2022-10-21 18:38:19 +00:00
|
|
|
xorg.libxkbfile
|
2020-07-18 16:06:22 +00:00
|
|
|
]);
|
2023-07-15 17:15:38 +00:00
|
|
|
extraInstallCommands = "mv $out/bin/{${pname}-${version},${pname}}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://wooting.io/wootility";
|
2020-11-03 02:18:15 +00:00
|
|
|
description = "A customization and management software for Wooting keyboards";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
license = "unknown";
|
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "wootility";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|