nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at devShellTools-shell 56 lines 1.5 kB view raw
1{ 2 appimageTools, 3 fetchurl, 4 lib, 5 makeWrapper, 6}: 7 8let 9 pname = "wootility"; 10 version = "5.0.6"; 11 src = fetchurl { 12 url = "https://wootility-updates.ams3.cdn.digitaloceanspaces.com/wootility-linux/Wootility-${version}.AppImage"; 13 sha256 = "sha256-9DFt8Hx39B7hgIQn22TPDva1mpxBYFtddNG+WNeqgF8="; 14 }; 15in 16 17appimageTools.wrapType2 { 18 inherit pname version src; 19 20 nativeBuildInputs = [ makeWrapper ]; 21 22 extraInstallCommands = 23 let 24 contents = appimageTools.extract { inherit pname version src; }; 25 in 26 '' 27 wrapProgram $out/bin/wootility \ 28 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" 29 30 install -Dm444 ${contents}/wootility.desktop -t $out/share/applications 31 install -Dm444 ${contents}/wootility.png -t $out/share/pixmaps 32 substituteInPlace $out/share/applications/wootility.desktop \ 33 --replace-fail 'Exec=AppRun --no-sandbox' 'Exec=wootility' 34 ''; 35 36 profile = '' 37 export LC_ALL=C.UTF-8 38 ''; 39 40 extraPkgs = 41 pkgs: with pkgs; ([ 42 xorg.libxkbfile 43 ]); 44 45 meta = { 46 homepage = "https://wooting.io/wootility"; 47 description = "Customization and management software for Wooting keyboards"; 48 platforms = lib.platforms.linux; 49 license = lib.licenses.unfree; 50 maintainers = with lib.maintainers; [ 51 sodiboo 52 returntoreality 53 ]; 54 mainProgram = "wootility"; 55 }; 56}