nixpkgs/pkgs/tools/misc/wootility/default.nix
2024-06-22 05:36:40 +02:00

39 lines
897 B
Nix

{ appimageTools
, fetchurl
, lib
, xorg
, udev
, wooting-udev-rules
}:
appimageTools.wrapType2 rec {
pname = "wootility";
version = "4.6.20";
src = fetchurl {
url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-lekker-linux-latest/wootility-lekker-${version}.AppImage";
sha256 = "sha256-JodmF3TThPpXXx1eOnYmYAJ4x5Ylcf35bw3R++5/Buk=";
};
profile = ''
export LC_ALL=C.UTF-8
'';
multiPkgs = extraPkgs;
extraPkgs =
pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ ([
udev
wooting-udev-rules
xorg.libxkbfile
]);
meta = with lib; {
homepage = "https://wooting.io/wootility";
description = "Customization and management software for Wooting keyboards";
platforms = [ "x86_64-linux" ];
license = "unknown";
maintainers = with maintainers; [ davidtwco sodiboo ];
mainProgram = "wootility";
};
}