python3Packages.python-xapp: 2.4.2 -> 3.0.0

https://github.com/linuxmint/python3-xapp/compare/2.4.2...3.0.0
This commit is contained in:
R. Ryantm
2025-11-16 21:50:32 +08:00
committed by Bobby Rong
parent 5dec4550e8
commit f469a43674
@@ -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;