summary refs log tree commit diff
path: root/pkgs/development/tools/glpaper/default.nix
blob: 94d140552a10db21c9e48b167e9fb40e9130d30d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchhg, meson, ninja, pkg-config, wlroots, wayland, wayland-protocols
, libX11, libGL }:

stdenv.mkDerivation {
  name = "glpaper";
  version = "unstable-2020-03-30";

  src = fetchhg {
    url = "https://hg.sr.ht/~scoopta/glpaper";
    rev = "a95db77088dfb5636a87f3743fc9b5eca70c1ae2";
    sha256 = "04y12910wvhy4aqx2sa63dy9l6nbs7b77yqpdhc96x2b3mgzgjfs";
  };

  nativeBuildInputs = [ meson ninja pkg-config ];
  buildInputs = [
    wayland
    libX11 # required by libglvnd
    libGL
  ];

  meta = with stdenv.lib; {
    description =
      "Wallpaper program for wlroots based Wayland compositors such as sway that allows you to render glsl shaders as your wallpaper";
    homepage = "https://hg.sr.ht/~scoopta/glpaper";
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ ccellado ];
  };
}