1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00

rqt-gui: include patch to fix compatibility with Python 3.9

This commit is contained in:
Ben Wolsieffer 2021-11-24 17:08:04 -05:00
parent 44efe536b6
commit f407e4d4ad

View file

@ -286,8 +286,16 @@ let
});
rqt-gui = rosSuper.rqt-gui.overrideAttrs ({
nativeBuildInputs ? [], ...
patches ? [], nativeBuildInputs ? [], ...
}: {
# Fix usage of removed ElementTree.getiterator() method
# https://github.com/ros-visualization/rqt/pull/241
patches = patches ++ [ (self.fetchpatch {
url = "https://github.com/ros-visualization/rqt/commit/aaf8da523b32307ad906e48fa977eff1779b0154.patch";
stripLen = 1;
sha256 = "1p2rh2l74plq5aa319mxgi0hqm2if0qk3mr5fz8zif1zpgz4wvh3";
}) ];
dontWrapQtApps = false;
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
postFixup = ''