From f469a436744a4e0ee562593923f96a2668d7ff07 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 16 Nov 2025 13:22:40 +0000 Subject: [PATCH] python3Packages.python-xapp: 2.4.2 -> 3.0.0 https://github.com/linuxmint/python3-xapp/compare/2.4.2...3.0.0 --- pkgs/development/python-modules/python-xapp/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-xapp/default.nix b/pkgs/development/python-modules/python-xapp/default.nix index 698f9735fd21..54d8e7a256e1 100644 --- a/pkgs/development/python-modules/python-xapp/default.nix +++ b/pkgs/development/python-modules/python-xapp/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "python-xapp"; - version = "2.4.2"; + version = "3.0.0"; format = "other"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "linuxmint"; repo = "python-xapp"; rev = version; - hash = "sha256-Gbm4YT9ZyrROOAbKz5xYd9J9YG9cUL2Oo6dDCPciaBs="; + hash = "sha256-OvYbMu/2cQLTHHbHh4zESf1X22AfZe8ZEfzeOBDcU90="; }; nativeBuildInputs = [ @@ -43,6 +43,10 @@ buildPythonPackage rec { postPatch = '' substituteInPlace "xapp/os.py" \ --replace-fail "/usr/bin/pkexec" "${polkit}/bin/pkexec" + + # We actually want the localedir provided by the caller. + substituteInPlace "xapp/util/__init__.py" \ + --replace-fail "/usr/share/locale" "/run/current-system/sw/share/locale" ''; doCheck = false;