nixpkgs/pkgs/by-name/wp/wpaperd/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon, wayland, libGL }:
2022-12-09 15:50:17 +00:00
rustPlatform.buildRustPackage rec {
pname = "wpaperd";
version = "1.1.1";
2022-12-09 15:50:17 +00:00
src = fetchFromGitHub {
owner = "danyspin97";
repo = "wpaperd";
2022-12-09 15:50:17 +00:00
rev = version;
hash = "sha256-eCD+eNdiVWLEmpkt0EaID534t6eE2OIVCgWMie5kbFE=";
2022-12-09 15:50:17 +00:00
};
cargoHash = "sha256-BlndjwvVYUaotCMKkArZ4EtFTLVcVhPDiY2QBnc5NUo=";
2022-12-09 15:50:17 +00:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
wayland
libGL
2022-12-09 15:50:17 +00:00
libxkbcommon
];
meta = with lib; {
description = "Minimal wallpaper daemon for Wayland";
longDescription = ''
It allows the user to choose a different image for each output (aka for each monitor)
just as swaybg. Moreover, a directory can be chosen and wpaperd will randomly choose
an image from it. Optionally, the user can set a duration, after which the image
displayed will be changed with another random one.
'';
homepage = "https://github.com/danyspin97/wpaperd";
license = licenses.gpl3Plus;
2022-12-09 21:29:18 +00:00
platforms = platforms.linux;
2024-06-15 02:21:38 +00:00
maintainers = with maintainers; [ DPDmancul fsnkty ];
2023-11-27 01:17:53 +00:00
mainProgram = "wpaperd";
2022-12-09 15:50:17 +00:00
};
}