19 svgBackend ? "nanosvg", # alternative: "librsvg"
20 # Optional dependencies
26 assert (svgSupport && svgBackend == "nanosvg") -> enableCairo;
28 stdenv.mkDerivation (finalAttrs: {
32 src = fetchFromGitea {
33 domain = "codeberg.org";
36 rev = finalAttrs.version;
37 hash = "sha256-FM5HvPfLVmuKpS3/0m2QM/lSRcWsVpnwtJ++L3Uo5Dc=";
61 ++ lib.optional enableCairo cairo
62 ++ lib.optional pngSupport libpng
63 ++ lib.optional (svgSupport && svgBackend == "librsvg") librsvg;
65 mesonBuildType = "release";
68 (lib.mesonEnable "enable-cairo" enableCairo)
69 (lib.mesonOption "png-backend" (if pngSupport then "libpng" else "none"))
70 (lib.mesonOption "svg-backend" (if svgSupport then svgBackend else "none"))
74 changelog = "https://codeberg.org/dnkl/fuzzel/releases/tag/${finalAttrs.version}";
75 description = "Wayland-native application launcher, similar to rofi’s drun mode";
76 homepage = "https://codeberg.org/dnkl/fuzzel";
77 license = with licenses; [
81 mainProgram = "fuzzel";
82 maintainers = with maintainers; [
86 platforms = with platforms; linux;