41 lines
732 B
Nix
41 lines
732 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
libxkbcommon,
|
|
wayland,
|
|
libGL,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "wpaperd-patched";
|
|
version = "1.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janis-bhm";
|
|
repo = "wpaperd";
|
|
rev = "main";
|
|
hash = "sha256-bqsr4tOA2ZOoz8Y7m9A3O+gUIFsJ6gvP2wjUYExyuGI=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-Vz5x9V+q5OwRR/GdiM/kEEfENSQ+KyN3DKM35NHuzAk=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
wayland
|
|
libGL
|
|
libxkbcommon
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Minimal wallpaper daemon for Wayland";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
mainProgram = "wpaperd";
|
|
};
|
|
}
|