nixpkgs/pkgs/applications/networking/browsers/netsurf/default.nix

37 lines
1.3 KiB
Nix
Raw Normal View History

2020-09-28 05:49:06 +00:00
{ lib, pkgs }:
lib.makeScope pkgs.newScope (self: with self; {
2020-09-28 06:48:46 +00:00
# ui can be: gtk2, gtk3, sixel, framebuffer. Note that console display (sixel)
# requires a terminal that supports `sixel` capabilities, such as mlterm
# or xterm -ti 340
ui = "gtk3";
uilib =
if ui == "gtk2" ||
ui == "gtk3" ||
ui == "framebuffer" then ui
else if ui == "sixel" then "framebuffer"
else null; # Never will happen
SDL =
if ui == "sixel" then pkgs.SDL_sixel
else if ui == "framebuffer" then pkgs.SDL
else null;
2020-09-28 06:50:11 +00:00
browser = callPackage ./browser.nix { };
2020-09-28 05:49:06 +00:00
buildsystem = callPackage ./buildsystem.nix { };
2020-09-28 06:35:38 +00:00
libcss = callPackage ./libcss.nix { };
2020-09-28 06:43:38 +00:00
libdom = callPackage ./libdom.nix { };
2020-09-28 06:40:19 +00:00
libhubbub = callPackage ./libhubbub.nix { };
2020-09-28 06:02:31 +00:00
libnsbmp = callPackage ./libnsbmp.nix { };
2020-09-28 06:48:46 +00:00
libnsfb = callPackage ./libnsfb.nix { };
2020-09-28 06:05:18 +00:00
libnsgif = callPackage ./libnsgif.nix { };
2020-09-28 06:10:13 +00:00
libnslog = callPackage ./libnslog.nix { };
2020-09-28 06:19:39 +00:00
libnspsl = callPackage ./libnspsl.nix { };
2020-09-28 06:24:38 +00:00
libnsutils = callPackage ./libnsutils.nix { };
libparserutils = callPackage ./libparserutils.nix { };
2020-09-28 06:45:02 +00:00
libsvgtiny = callPackage ./libsvgtiny.nix { };
2020-09-28 06:26:51 +00:00
libutf8proc = callPackage ./libutf8proc.nix { };
2020-09-28 06:30:14 +00:00
libwapcaplet = callPackage ./libwapcaplet.nix { };
2020-09-28 06:32:24 +00:00
nsgenbind = callPackage ./nsgenbind.nix { };
2020-09-28 05:49:06 +00:00
})