15 # Optional dependencies
21 stdenv.mkDerivation rec {
25 src = fetchFromGitea {
26 domain = "codeberg.org";
30 hash = "sha256-zd5OWC0r/75IaeKy5xjV+pQefRy48IcFTxx93iy0a0Q=";
45 ] ++ lib.optional enablePNG libpng
46 ++ lib.optional enableJPEG libjpeg
47 ++ lib.optional enableWebp libwebp;
49 mesonBuildType = "release";
52 (lib.mesonEnable "png" enablePNG)
53 (lib.mesonEnable "jpeg" enableJPEG)
54 (lib.mesonEnable "webp" enableWebp)
58 description = "Wallpaper application for Wayland compositors";
59 homepage = "https://codeberg.org/dnkl/wbg";
60 changelog = "https://codeberg.org/dnkl/wbg/releases/tag/${version}";
61 license = licenses.isc;
62 maintainers = with maintainers; [ AndersonTorres ];
63 platforms = with platforms; linux;