The problem with this package is it acts as a library as same as a packages.
It should be imported in a python file to configure it (I need to do it away from nix-shell as this is a package not a development environment)
Problem #2
It depends on a library called python-dbus which can’t be seen by i3pystatus
Problem #3
It depends on a pip package called xkbgroup, how can I add it to i3pystatus
i3pystatus is a bit of an awkward package in that regard. Most packages can be installed like this or configured via some modules. With i3pystatus you have to “change” (or rather to override) the default package to include the dependencies you need.
The recommanded way would be to override the default one in an overlay see Overlays - NixOS Wiki .