core/pkgs/by-name/w3/w3m/packages.nix

31 lines
580 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ ... }:
res: pkgs: super:
2024-06-30 08:12:46 +00:00
with pkgs; {
2024-05-02 00:46:19 +00:00
w3m = callPackage ./. { };
# Should always be the version with the most features
w3m-full = w3m;
# Version without X11
w3m-nox = w3m.override {
x11Support = false;
imlib2 = imlib2-nox;
};
# Version without X11 or graphics
w3m-nographics = w3m.override {
x11Support = false;
graphicsSupport = false;
};
# Version for batch text processing, not a good browser
w3m-batch = w3m.override {
graphicsSupport = false;
mouseSupport = false;
x11Support = false;
imlib2 = imlib2-nox;
};
}