No description
| flake.nix | init | |
| README.md | update README | |
mkWebExt
A Nix flake for building and testing Firefox WebExtensions declaratively.
Overview
lib.mkWebExt provides a simple abstraction to create, build, and test Firefox web extensions using
Nix. It handles manifest generation, source bundling, and provides a test runner for rapid
development.
Parameters
- name: Extension name
- script: JavaScript code to inject (optional)
- id: Extension ID (usually maintainer email)
- urlMatches: URL RegEx patterns where the extension runs
- src: Source directory (for complex extensions)
- manifest: Custom manifest.json overrides
- version: Extension version (default: "1.0.0")
License
This code is licensed under the EUPL for non-commercial use. Please use it to help your friends and community. Write an E-Mail to contact@alina.cx for commercial use.