/plover-flake

plover-plugin-flake

Primary LanguageNix

A flake for plover with support for plugins

Usage

Add this flake to your flake inputs, e.g. inputs.plover-flake.url = "github:dnaq/plover-flake";

Then a plover derivation containing the plugins you want can be built with

  plover-flake.${system}.plover.with-plugins (ps: with ps; [
      plover-dict-commands
      plover-console-ui
  ];

where ps is an attribute set containing all plugins from the plugin registry as well as some extra plugins.

Note

The plugin names were recently changed to be the same as in the plugins registry. This means that they will now consistently use dashes - in the names.

Troubleshooting

If a specific plugin fails to build its most likely because of a missing dependency. In that case that dependency can be added to overrides.nix, any pull requests doing so are welcome.

Updating the plugin list from the registry

At some point this will be added to CI and done automatically, but in the meantime it is possible to do the following:

  nix develop
  bash update.sh

Current Issues

In order to support plover2cat the pyqt derivation is overriden with withMultimedia = true;. This holds even if plover2cat isn't installed, which might entail a bit of a waste of disk space. If anyone figures out a good way for plugins to additively add qt features when dependen on, please let me know.