mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
37 lines
1.3 KiB
Nix
37 lines
1.3 KiB
Nix
{ lib, pkgs }:
|
|
|
|
lib.makeScope pkgs.newScope (self: with self; {
|
|
# 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;
|
|
|
|
browser = callPackage ./browser.nix { };
|
|
|
|
buildsystem = callPackage ./buildsystem.nix { };
|
|
libcss = callPackage ./libcss.nix { };
|
|
libdom = callPackage ./libdom.nix { };
|
|
libhubbub = callPackage ./libhubbub.nix { };
|
|
libnsbmp = callPackage ./libnsbmp.nix { };
|
|
libnsfb = callPackage ./libnsfb.nix { };
|
|
libnsgif = callPackage ./libnsgif.nix { };
|
|
libnslog = callPackage ./libnslog.nix { };
|
|
libnspsl = callPackage ./libnspsl.nix { };
|
|
libnsutils = callPackage ./libnsutils.nix { };
|
|
libparserutils = callPackage ./libparserutils.nix { };
|
|
libsvgtiny = callPackage ./libsvgtiny.nix { };
|
|
libutf8proc = callPackage ./libutf8proc.nix { };
|
|
libwapcaplet = callPackage ./libwapcaplet.nix { };
|
|
nsgenbind = callPackage ./nsgenbind.nix { };
|
|
})
|