summary refs log blame commit diff
path: root/pkgs/development/tools/glpaper/default.nix
blob: f6465d53cae0613718d44db982f68c3134aabe6f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                                                

                  

                         
                                  
 



                            

                                                                   








                                                 
                    







                                                                                                                                      
{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, wlroots, wayland, wayland-protocols
, libX11, libGL }:

stdenv.mkDerivation rec {
  pname = "glpaper";
  version = "unstable-2020-10-11";

  src = fetchFromSourcehut {
    owner = "~scoopta";
    repo = pname;
    vc = "hg";
    rev = "9e7ec7cd270af330039c395345c7d23c04682267";
    sha256 = "sha256-yBHRg6eg+PK/ixuM0MBty3RJY9qcemr3Dt+8SAitqnk=";
  };

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

  meta = with 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 ];
  };
}