diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py | 18 | ||||
-rw-r--r-- | sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md | 2 |
2 files changed, 12 insertions, 8 deletions
diff --git a/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py b/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py index 459be0d0..ee8cc966 100644 --- a/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py +++ b/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py @@ -5,12 +5,15 @@ from concurrent.futures import ThreadPoolExecutor import json import requests -EXTENSIONS = sorted([ - "darkreader", - "firenvim", - "keepassxc-browser", - "simple-tab-groups", -]) +EXTENSIONS = sorted( + [ + "darkreader", + "firenvim", + "keepassxc-browser", + "simple-tab-groups", + ] +) + def index_ext(ext: str): # print(f"Indexing {ext}...") @@ -29,6 +32,7 @@ def index_ext(ext: str): "sha256": rel["file"]["hash"], } + if __name__ == "__main__": # outfile = os.path.dirname(os.path.realpath(__file__)) + "/extensions.json" @@ -36,5 +40,5 @@ if __name__ == "__main__": extensions = {ext: e.submit(index_ext, ext) for ext in EXTENSIONS} extensions = {k: v.result() for k, v in extensions.items()} - #with open(outfile, "w") as f: + # with open(outfile, "w") as f: print(json.dumps(extensions, indent=2)) diff --git a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md index e00a435c..f2361112 100644 --- a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md +++ b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md @@ -1,4 +1,4 @@ - - Plugin count: 4 +- Plugin count: 4 | Repo | Last Update | Nix package name | Last checked | |:---|:---|:---|:---| |