2019-12-19 12:28:30 +00:00
|
|
|
{ appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3, udev, wooting-udev-rules }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "wootility";
|
2020-03-31 11:30:31 +01:00
|
|
|
version = "3.4.6";
|
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-03-31 11:30:31 +01:00
|
|
|
sha256 = "02ivbgnzr657iqb9hviaylmsym2kki2c84xmqfix3b0awsphn05q";
|
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 =
|
|
|
|
pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ ([ udev wooting-udev-rules ]);
|
|
|
|
extraInstallCommands = "mv $out/bin/{${name},${pname}}";
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wooting.io/wootility";
|
2019-12-19 12:28:30 +00:00
|
|
|
description = "Wootility is customization and management software for Wooting keyboards.";
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
license = "unknown";
|
|
|
|
maintainers = with maintainers; [ davidtwco ];
|
|
|
|
};
|
|
|
|
}
|