2020-10-31 12:20:43 +00:00
|
|
|
{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, wlroots, wayland, wayland-protocols
|
2020-05-16 20:26:19 +00:00
|
|
|
, libX11, libGL }:
|
|
|
|
|
2020-10-31 12:20:43 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "glpaper";
|
2022-05-31 22:40:16 +00:00
|
|
|
version = "unstable-2022-05-15";
|
2020-05-16 20:26:19 +00:00
|
|
|
|
2020-10-31 12:20:43 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~scoopta";
|
|
|
|
repo = pname;
|
|
|
|
vc = "hg";
|
2022-05-31 22:40:16 +00:00
|
|
|
rev = "f89e60b7941fb60f1069ed51af9c5bb4917aab35";
|
|
|
|
sha256 = "sha256-E7FKjt3NL0aAEibfaq+YS2IVvpjNjInA+Rs8SU63/3M=";
|
2020-05-16 20:26:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [
|
|
|
|
wayland
|
|
|
|
libX11 # required by libglvnd
|
|
|
|
libGL
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-05-16 20:26:19 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|