2020-07-07 16:19:25 +00:00
|
|
|
{ appimageTools
|
|
|
|
, fetchurl
|
|
|
|
, lib
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gtk3
|
|
|
|
, libxkbfile
|
|
|
|
, udev
|
|
|
|
, wooting-udev-rules
|
|
|
|
}:
|
2019-12-19 12:28:30 +00:00
|
|
|
let
|
|
|
|
pname = "wootility";
|
2020-09-05 12:23:42 +00:00
|
|
|
version = "3.5.12";
|
2019-12-19 12:28:30 +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-05 12:23:42 +00:00
|
|
|
sha256 = "13bhckk25fzq9r9cdsg3yqjd4kn47asqdx8kw0in8iky4ri41vnc";
|
2019-12-19 12:28:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
profile = ''
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
export XDG_DATA_DIRS="${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS"
|
|
|
|
'';
|
|
|
|
|
|
|
|
multiPkgs = extraPkgs;
|
|
|
|
extraPkgs =
|
2020-07-07 16:19:25 +00:00
|
|
|
pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ ([
|
|
|
|
udev
|
|
|
|
wooting-udev-rules
|
|
|
|
libxkbfile
|
|
|
|
]);
|
2019-12-19 12:28:30 +00:00
|
|
|
extraInstallCommands = "mv $out/bin/{${name},${pname}}";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|