depot/third_party/nixpkgs/pkgs/tools/misc/wootility/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

38 lines
891 B
Nix

{ appimageTools
, fetchurl
, lib
, xorg
, udev
, wooting-udev-rules
}:
appimageTools.wrapType2 rec {
pname = "wootility";
version = "4.6.18";
src = fetchurl {
url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-lekker-linux-latest/wootility-lekker-${version}.AppImage";
sha256 = "sha256-oiPt1xgmYGYO1dk01rDwwaUf+yhDAbRCqTTuOivR/kI=";
};
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 = "A customization and management software for Wooting keyboards";
platforms = [ "x86_64-linux" ];
license = "unknown";
maintainers = with maintainers; [ davidtwco ];
mainProgram = "wootility";
};
}