main
 1{
 2  lib,
 3  selfLib,
 4  newScope,
 5  callPackage,
 6  fetchFromCodeberg,
 7}:
 8lib.makeScope newScope (
 9  self:
10  let
11    helixPluginsNix = fetchFromCodeberg {
12      owner = "maxschipper";
13      repo = "helix-plugins-nix";
14      rev = "629a6b9489dbab75b8bff3daaf4843f66f97e35c";
15      hash = "sha256-Wq62h4qPsABKb0pJJDoXJvxVWSuBsShy3r4FioKqi2Y=";
16    };
17
18    upstream = callPackage "${helixPluginsNix}/pkgs/default.nix" { };
19
20    deprecate =
21      name: drv:
22      selfLib.deprecatePackage name
23        "use the package of the same name from helix-plugins-nix (https://codeberg.org/maxschipper/helix-plugins-nix) instead"
24        drv;
25  in
26  {
27    fcitx-focus = callPackage ./fcitx-focus.nix {
28      buildHelixPluginWithNative = upstream.buildHelixPluginWithNative;
29    };
30
31    file-tree = deprecate "helixPlugins.file-tree" upstream.file-tree-hx;
32    file-tree-hx = deprecate "helixPlugins.file-tree-hx" upstream.file-tree-hx;
33
34    forest = deprecate "helixPlugins.forest" upstream.forest;
35
36    glyph = deprecate "helixPlugins.glyph" upstream.glyph;
37
38    helix-file-watcher = deprecate "helixPlugins.helix-file-watcher" upstream.helix-file-watcher;
39
40    notify = deprecate "helixPlugins.notify" upstream.notify;
41
42    oil = deprecate "helixPlugins.oil" upstream.oil;
43
44    scooter = deprecate "helixPlugins.scooter" upstream.scooter;
45    scooter-hx = deprecate "helixPlugins.scooter-hx" upstream.scooter;
46
47    smith = callPackage ./smith.nix { buildHelixPlugin = upstream.buildHelixPlugin; };
48
49    trail = deprecate "helixPlugins.trail" upstream.trail;
50
51    wakatime = deprecate "helixPlugins.wakatime" upstream.wakatime;
52    wakatime-hx = deprecate "helixPlugins.wakatime-hx" upstream.wakatime;
53  }
54)