orca: Add missing at-spi2-core PyGObject overrides

Specifically, the `__hash__` method in `Atspi.Accessible` is required for proper state management.
See https://gitlab.gnome.org/GNOME/orca/-/merge_requests/283 for details.

Fixes: https://github.com/NixOS/nixpkgs/issues/540352
(cherry picked from commit da0d6c0f40)
This commit is contained in:
Jan Tojnar
2026-07-11 19:49:24 +02:00
committed by github-actions[bot]
parent bb2890379e
commit bebca9e751

View File

@@ -46,7 +46,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
hash = "sha256-ts/ZCgEaTrnmMM1cUFJB2rDW9icMoi4jV34psD0IDCc=";
})
# Required for next patch to apply.
# Required for fix-paths.patch to apply.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/orca/-/commit/a7b10302b9ff9145a98cb3626f2488d15c558d3e.patch";
hash = "sha256-lacy9vIyM3n84s+tbYvAUBKWCT+4nlI9uPVl7UPVS74=";
@@ -90,6 +90,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
speechd-minimal
gst-python
setproctitle
at-spi2-core
];
strictDeps = false;