xwayland: 23.2.0 -> 23.2.1

While at it added trivial updater.

Changes: https://www.spinics.net/lists/xorg/msg61058.html
This commit is contained in:
Sergei Trofimovich 2023-09-21 22:14:18 +01:00 committed by Anderson Torres
parent 7a1233cc30
commit 0966f1d593

View file

@ -39,15 +39,17 @@
, xorgproto , xorgproto
, xtrans , xtrans
, zlib , zlib
, defaultFontPath ? "" }: , defaultFontPath ? ""
, gitUpdater
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xwayland"; pname = "xwayland";
version = "23.2.0"; version = "23.2.1";
src = fetchurl { src = fetchurl {
url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz"; url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz";
sha256 = "sha256-fzPsKjTebmauG35Ehyw6IUYZKHLHGbms8ZKBTtur1MU="; sha256 = "sha256-7rwmksOqgGF9eEKLxux7kbJUqYIU0qcOmXCYUDzW75A=";
}; };
depsBuildBuild = [ depsBuildBuild = [
@ -104,6 +106,12 @@ stdenv.mkDerivation rec {
(lib.mesonBool "libunwind" (libunwind != null)) (lib.mesonBool "libunwind" (libunwind != null))
]; ];
passthru.updateScript = gitUpdater {
# No nicer place to find latest release.
url = "https://gitlab.freedesktop.org/xorg/xserver.git";
rev-prefix = "xwayland-";
};
meta = with lib; { meta = with lib; {
description = "An X server for interfacing X11 apps with the Wayland protocol"; description = "An X server for interfacing X11 apps with the Wayland protocol";
homepage = "https://wayland.freedesktop.org/xserver.html"; homepage = "https://wayland.freedesktop.org/xserver.html";