core/pkgs/by-name/w3/w3m/packages.nix
2024-05-13 11:34:52 -04:00

32 lines
580 B
Nix

{ ... }:
res: pkgs: super:
with pkgs;
{
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;
};
}