2023-03-15 16:39:30 +00:00
|
|
|
{ config, lib, pkgs, fetchFromGitHub, rustPlatform, pkg-config, lz4, libxkbcommon }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "swww";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.7.3";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Horus645";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-58zUi6tftTvNoc/R/HO4RDC7n+NODKOrBCHH8QntKSY=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
cargoSha256 = "sha256-hL5rOf0G+UBO8kyRXA1TqMCta00jGSZtF7n8ibjGi9k=";
|
2023-03-15 16:39:30 +00:00
|
|
|
buildInputs = [ lz4 libxkbcommon ];
|
|
|
|
doCheck = false; # Integration tests do not work in sandbox environment
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Efficient animated wallpaper daemon for wayland, controlled at runtime";
|
|
|
|
homepage = "https://github.com/Horus645/swww";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ mateodd25 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|