mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
33 lines
894 B
Nix
33 lines
894 B
Nix
{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, wayland
|
|
, libX11, libGL }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "glpaper";
|
|
version = "unstable-2022-05-15";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~scoopta";
|
|
repo = pname;
|
|
vc = "hg";
|
|
rev = "f89e60b7941fb60f1069ed51af9c5bb4917aab35";
|
|
sha256 = "sha256-E7FKjt3NL0aAEibfaq+YS2IVvpjNjInA+Rs8SU63/3M=";
|
|
};
|
|
|
|
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";
|
|
mainProgram = "glpaper";
|
|
homepage = "https://hg.sr.ht/~scoopta/glpaper";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ccellado ];
|
|
};
|
|
}
|