XFCE dockbarx plugin fails due to a missing library. How can i fix this?

I want to make an ubuntu skin for xfce, but the dockbarx plugin doesn’t seem to work. The terminal output for xfce4-panel reads:
Traceback (most recent call last): File "/nix/store/ax2jncy1x3s4r2z1wxgzpxr807678fyn-xfce4-dockbarx-plugin-0.6-5213876/share/xfce4/panel/plugins/.xfce4-dockbarx-plug-wrapped", line 29, in <module> import gi ModuleNotFoundError: No module named 'gi' Exception ignored in: <dockbarx.log.StdOutWrapper object at 0x7f55acc9e250> AttributeError: 'StdOutWrapper' object has no attribute 'flush' Exception ignored in sys.unraisablehook: <built-in function unraisablehook> AttributeError: 'StdErrWrapper' object has no attribute 'flush'
I could not find any way to fix this., even installing the gobject with pip and the nix store didn’t work. I opened an issue on github but nobody has responded. https://github.com/NixOS/nixpkgs/issues/121104

@1ctinus would you please take a look {dockbarx,xfce.xfce4-dockbarx-plugin}: update and fixes by romildo · Pull Request #121433 · NixOS/nixpkgs · GitHub and see if it fixes the issue you reported?