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

37 lines
1.3 KiB
Nix
Raw Normal View History

2020-09-28 06:49:06 +01:00
{ lib, pkgs }:
lib.makeScope pkgs.newScope (self: with self; {
2020-09-28 07:48:46 +01: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 07:50:11 +01:00
browser = callPackage ./browser.nix { };
2020-09-28 06:49:06 +01:00
buildsystem = callPackage ./buildsystem.nix { };
2020-09-28 07:35:38 +01:00
libcss = callPackage ./libcss.nix { };
2020-09-28 07:43:38 +01:00
libdom = callPackage ./libdom.nix { };
2020-09-28 07:40:19 +01:00
libhubbub = callPackage ./libhubbub.nix { };
2020-09-28 07:02:31 +01:00
libnsbmp = callPackage ./libnsbmp.nix { };
2020-09-28 07:48:46 +01:00
libnsfb = callPackage ./libnsfb.nix { };
2020-09-28 07:05:18 +01:00
libnsgif = callPackage ./libnsgif.nix { };
2020-09-28 07:10:13 +01:00
libnslog = callPackage ./libnslog.nix { };
2020-09-28 07:19:39 +01:00
libnspsl = callPackage ./libnspsl.nix { };
2020-09-28 07:24:38 +01:00
libnsutils = callPackage ./libnsutils.nix { };
libparserutils = callPackage ./libparserutils.nix { };
2020-09-28 07:45:02 +01:00
libsvgtiny = callPackage ./libsvgtiny.nix { };
2020-09-28 07:26:51 +01:00
libutf8proc = callPackage ./libutf8proc.nix { };
2020-09-28 07:30:14 +01:00
libwapcaplet = callPackage ./libwapcaplet.nix { };
2020-09-28 07:32:24 +01:00
nsgenbind = callPackage ./nsgenbind.nix { };
2020-09-28 06:49:06 +01:00
})