2023-10-09 19:29:22 +00:00
|
|
|
{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, wayland
|
2020-05-29 06:06:01 +00:00
|
|
|
, libX11, libGL }:
|
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "glpaper";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "unstable-2022-05-15";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~scoopta";
|
|
|
|
repo = pname;
|
|
|
|
vc = "hg";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "f89e60b7941fb60f1069ed51af9c5bb4917aab35";
|
|
|
|
sha256 = "sha256-E7FKjt3NL0aAEibfaq+YS2IVvpjNjInA+Rs8SU63/3M=";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [
|
|
|
|
wayland
|
|
|
|
libX11 # required by libglvnd
|
|
|
|
libGL
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
description =
|
|
|
|
"Wallpaper program for wlroots based Wayland compositors such as sway that allows you to render glsl shaders as your wallpaper";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "glpaper";
|
2020-05-29 06:06:01 +00:00
|
|
|
homepage = "https://hg.sr.ht/~scoopta/glpaper";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ccellado ];
|
|
|
|
};
|
|
|
|
}
|