@@ -0,0 +1,29 @@
1+{ stdenv, fetchhg, meson, ninja, pkg-config, wlroots, wayland, wayland-protocols
2+, libX11, libGL }:
3+
4+stdenv.mkDerivation {
5+ name = "glpaper";
6+ version = "unstable-2020-03-30";
7+
8+ src = fetchhg {
9+ url = "https://hg.sr.ht/~scoopta/glpaper";
10+ rev = "a95db77088dfb5636a87f3743fc9b5eca70c1ae2";
11+ sha256 = "04y12910wvhy4aqx2sa63dy9l6nbs7b77yqpdhc96x2b3mgzgjfs";
12+ };
13+
14+ nativeBuildInputs = [ meson ninja pkg-config ];
15+ buildInputs = [
16+ wayland
17+ libX11 # required by libglvnd
18+ libGL
19+ ];
20+
21+ meta = with stdenv.lib; {
22+ description =
23+ "Wallpaper program for wlroots based Wayland compositors such as sway that allows you to render glsl shaders as your wallpaper";
24+ homepage = "https://hg.sr.ht/~scoopta/glpaper";
25+ license = licenses.gpl3Plus;
26+ platforms = platforms.linux;
27+ maintainers = with maintainers; [ ccellado ];
28+ };
29+}