fork/wpaperd
git clone https://git.julia.blue/fork/wpaperd
a84a107
main
1{ 2lib , 3rustPlatform , 4pkg-config , 5wayland , 6glew-egl , 7version ? "git" , 8} : 9rustPlatform . buildRustPackage rec { 10pname = "wpaperd" ; 11inherit version ; 12 13src = lib . cleanSourceWith { 14filter = name: _type: let 15baseName = baseNameOf ( toString name ); 16in 17! ( lib . hasSuffix ".nix" baseName ); 18src = lib . cleanSource ../. ; 19}; 20 21nativeBuildInputs = [ 22pkg-config 23]; 24 25buildInputs = 26[ 27wayland 28glew-egl 29]; 30 31cargoLock . lockFile = ../Cargo.lock ; 32 33meta = with lib ; { 34description = "Wallpaper daemon for Wayland" ; 35longDescription = '' 36It allows the user to choose a different image for each output (aka for each monitor) 37just as swaybg. Moreover, a directory can be chosen and wpaperd will randomly choose 38an image from it. Optionally, the user can set a duration, after which the image 39displayed will be changed with another random one. 40'' ; 41homepage = "https://github.com/danyspin97/wpaperd" ; 42license = licenses . gpl3Plus ; 43platforms = platforms . linux ; 44maintainers = with maintainers ; [ yunfachi ]; 45mainProgram = "wpaperd" ; 46}; 47}