2020-07-18 16:06:22 +00:00
|
|
|
{ appimageTools
|
|
|
|
, fetchurl
|
|
|
|
, lib
|
|
|
|
, libxkbfile
|
|
|
|
, udev
|
|
|
|
, wooting-udev-rules
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
let
|
|
|
|
pname = "wootility";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "3.5.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
appimageTools.wrapType2 rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-linux-latest/wootility-${version}.AppImage";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "13bhckk25fzq9r9cdsg3yqjd4kn47asqdx8kw0in8iky4ri41vnc";
|
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
|
|
|
|
libxkbfile
|
|
|
|
]);
|
2020-04-24 23:36:52 +00:00
|
|
|
extraInstallCommands = "mv $out/bin/{${name},${pname}}";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|