2020-10-31 13:20:43 +01:00
|
|
|
{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, wlroots, wayland, wayland-protocols
|
2020-05-16 22:26:19 +02:00
|
|
|
, libX11, libGL }:
|
|
|
|
|
2020-10-31 13:20:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "glpaper";
|
2021-02-09 02:07:37 +01:00
|
|
|
version = "unstable-2020-10-11";
|
2020-05-16 22:26:19 +02:00
|
|
|
|
2020-10-31 13:20:43 +01:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~scoopta";
|
|
|
|
repo = pname;
|
|
|
|
vc = "hg";
|
2021-02-09 02:07:37 +01:00
|
|
|
rev = "9e7ec7cd270af330039c395345c7d23c04682267";
|
|
|
|
sha256 = "sha256-yBHRg6eg+PK/ixuM0MBty3RJY9qcemr3Dt+8SAitqnk=";
|
2020-05-16 22:26:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
|
|
|
buildInputs = [
|
|
|
|
wayland
|
|
|
|
libX11 # required by libglvnd
|
|
|
|
libGL
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-05-16 22:26:19 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|