The offlineimap package to use. Can be used to specify extensions.
package
pkgs.offlineimap
pkgs.offlineimap.overridePythonAttrs ( old: { propagatedBuildInputs = old.propagatedBuildInputs ++ (with pkgs.python3Packages; [ requests_oauthlib xdg gpgme]); })