python3Packages.python-xapp: 2.4.2 -> 3.0.0 (#462232)

This commit is contained in:
Bobby Rong
2025-11-16 13:57:47 +00:00
committed by GitHub
@@ -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;