mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
1a634cc057
they're unnecessary since https://github.com/NixOS/nixpkgs/pull/161739/files which links the schemas to their correct fhs locations and adds gsettings-desktop-schemas and hicolor-icon-theme to appimage fhs
41 lines
945 B
Nix
41 lines
945 B
Nix
{ appimageTools
|
|
, fetchurl
|
|
, lib
|
|
, libxkbfile
|
|
, udev
|
|
, wooting-udev-rules
|
|
}:
|
|
let
|
|
pname = "wootility";
|
|
version = "3.5.12";
|
|
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";
|
|
sha256 = "13bhckk25fzq9r9cdsg3yqjd4kn47asqdx8kw0in8iky4ri41vnc";
|
|
};
|
|
|
|
profile = ''
|
|
export LC_ALL=C.UTF-8
|
|
'';
|
|
|
|
multiPkgs = extraPkgs;
|
|
extraPkgs =
|
|
pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ ([
|
|
udev
|
|
wooting-udev-rules
|
|
libxkbfile
|
|
]);
|
|
extraInstallCommands = "mv $out/bin/{${name},${pname}}";
|
|
|
|
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 ];
|
|
};
|
|
}
|