https://github.com/ibizaman/deluge-plugindev
Why you want this:
- No fiddling with python virtual env
- No need to clone deluge repo
- Fully reproducible thanks to nix
- Fully sandboxed environment
- Test plugin easily on web and gtk
Start a deluge instance with a local config directory:
Code: Select all
nix run github:ibizaman/deluge-plugindev#deluged -- \
--config .config
.config
directory with the correct layout.Start the web instance:
Code: Select all
nix run github:ibizaman/deluge-plugindev#deluge-web -- \
--config .config
deluge
.Generate a plugin template:
Code: Select all
nix run github:ibizaman/deluge-plugindev#createplugin -- \
--config .config \
--name MyPlugin \
--basepath . \
--author-name "Your Name" \
--author-email "yourname@example.com"
deluged
instance so it picks up the plugin:Code: Select all
nix run nixpkgs#killall .deluged-wrapped
nix run github:ibizaman/deluge-plugindev#deluged -- \
--config .config

Happy hacking!