about summary refs log tree commit diff
path: root/pkgs/servers/x11
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-09-21 22:14:18 +0100
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-09-23 16:43:51 -0300
commit0966f1d593d6371127086bcd735499c6b4e16f5a (patch)
tree3478befa4bfe4b7d2040e7226ca4e8afe0a18bea /pkgs/servers/x11
parent7a1233cc30e8fc9a79fd6ea12977b9bee0ff6609 (diff)
downloadnixlib-0966f1d593d6371127086bcd735499c6b4e16f5a.tar
nixlib-0966f1d593d6371127086bcd735499c6b4e16f5a.tar.gz
nixlib-0966f1d593d6371127086bcd735499c6b4e16f5a.tar.bz2
nixlib-0966f1d593d6371127086bcd735499c6b4e16f5a.tar.lz
nixlib-0966f1d593d6371127086bcd735499c6b4e16f5a.tar.xz
nixlib-0966f1d593d6371127086bcd735499c6b4e16f5a.tar.zst
nixlib-0966f1d593d6371127086bcd735499c6b4e16f5a.zip
xwayland: 23.2.0 -> 23.2.1
While at it added trivial updater.

Changes: https://www.spinics.net/lists/xorg/msg61058.html
Diffstat (limited to 'pkgs/servers/x11')
-rw-r--r--pkgs/servers/x11/xorg/xwayland.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/servers/x11/xorg/xwayland.nix b/pkgs/servers/x11/xorg/xwayland.nix
index 28ebf020e1cd..9dc2adcad9b6 100644
--- a/pkgs/servers/x11/xorg/xwayland.nix
+++ b/pkgs/servers/x11/xorg/xwayland.nix
@@ -39,15 +39,17 @@
 , xorgproto
 , xtrans
 , zlib
-, defaultFontPath ? "" }:
+, defaultFontPath ? ""
+, gitUpdater
+}:
 
 stdenv.mkDerivation rec {
   pname = "xwayland";
-  version = "23.2.0";
+  version = "23.2.1";
 
   src = fetchurl {
     url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz";
-    sha256 = "sha256-fzPsKjTebmauG35Ehyw6IUYZKHLHGbms8ZKBTtur1MU=";
+    sha256 = "sha256-7rwmksOqgGF9eEKLxux7kbJUqYIU0qcOmXCYUDzW75A=";
   };
 
   depsBuildBuild = [
@@ -104,6 +106,12 @@ stdenv.mkDerivation rec {
     (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; {
     description = "An X server for interfacing X11 apps with the Wayland protocol";
     homepage = "https://wayland.freedesktop.org/xserver.html";