1
0
Fork
You've already forked mkWebExt
1
No description
  • Nix 100%
Find a file
2025年10月23日 12:30:05 +02:00
flake.nix init 2025年10月10日 21:03:43 +02:00
README.md update README 2025年10月23日 12:30:05 +02:00

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.