lol

Merge pull request #322396 from if-loop69420/add-xwayland-satellite

xwayland-satellite: init at 0.4

authored by

Aleksana and committed by
GitHub
977fe3da 6b43606a

+62
+6
maintainers/maintainer-list.nix
··· 8424 8424 email = "astrid@astrid.tech"; 8425 8425 name = "ifd3f"; 8426 8426 }; 8427 + if-loop69420 = { 8428 + github = "if-loop69420"; 8429 + githubId = 81078181; 8430 + email = "j.sztavi@pm.me"; 8431 + name = "Jeremy Sztavinovszki"; 8432 + }; 8427 8433 iFreilicht = { 8428 8434 github = "iFreilicht"; 8429 8435 githubId = 9742635;
+56
pkgs/by-name/xw/xwayland-satellite/package.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , pkg-config 5 + , xwayland 6 + , xcb-util-cursor 7 + , libxcb 8 + , nix-update-script 9 + }: 10 + 11 + rustPlatform.buildRustPackage rec { 12 + pname = "xwayland-satellite"; 13 + version = "0.4"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "Supreeeme"; 17 + repo = "xwayland-satellite"; 18 + rev = "v${version}"; 19 + hash = "sha256-dwF9nI54a6Fo9XU5s4qmvMXSgCid3YQVGxch00qEMvI="; 20 + }; 21 + 22 + cargoHash = "sha256-nKPSkHbh73xKWNpN/OpDmLnVmA3uygs3a+ejOhwU3yA="; 23 + 24 + nativeBuildInputs = [ 25 + pkg-config 26 + rustPlatform.bindgenHook 27 + ]; 28 + 29 + buildInputs = [ 30 + xwayland 31 + libxcb 32 + xcb-util-cursor 33 + ]; 34 + 35 + # disable Xwayland integration tests which need a running display server 36 + checkFlags = [ 37 + "--exact" 38 + "--skip=copy_from_wayland" 39 + "--skip=copy_from_x11" 40 + "--skip=input_focus" 41 + "--skip=quick_delete" 42 + "--skip=reparent" 43 + "--skip=toplevel_flow" 44 + ]; 45 + 46 + passthru.updateScript = nix-update-script { }; 47 + 48 + meta = with lib; { 49 + description = "Rootless Xwayland integration to any Wayland compositor implementing xdg_wm_base"; 50 + homepage = "https://github.com/Supreeeme/xwayland-satellite"; 51 + license = licenses.mpl20; 52 + maintainers = with maintainers; [ if-loop69420 ]; 53 + mainProgram = "xwayland-satellite"; 54 + platforms = platforms.linux; 55 + }; 56 + }