nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, wlroots, wayland, wayland-protocols
2, libX11, libGL }:
3
4stdenv.mkDerivation rec {
5 pname = "glpaper";
6 version = "unstable-2020-10-11";
7
8 src = fetchFromSourcehut {
9 owner = "~scoopta";
10 repo = pname;
11 vc = "hg";
12 rev = "9e7ec7cd270af330039c395345c7d23c04682267";
13 sha256 = "sha256-yBHRg6eg+PK/ixuM0MBty3RJY9qcemr3Dt+8SAitqnk=";
14 };
15
16 nativeBuildInputs = [ meson ninja pkg-config ];
17 buildInputs = [
18 wayland
19 libX11 # required by libglvnd
20 libGL
21 ];
22
23 meta = with lib; {
24 description =
25 "Wallpaper program for wlroots based Wayland compositors such as sway that allows you to render glsl shaders as your wallpaper";
26 homepage = "https://hg.sr.ht/~scoopta/glpaper";
27 license = licenses.gpl3Plus;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ ccellado ];
30 };
31}