2023-02-12 00:32:13 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, pkg-config, libxkbcommon }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "swww";
|
|
|
|
version = "v0.7.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Horus645";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-Z90Zwjqcu0hbtJwKPUNV996mtdgX//ZWWm+Dya/JV9A=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "sha256-f6++5DazCqJjRuZquiJ5hdf9l+q6sOBZOL/vyQy1hA0";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxkbcommon
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Solution to your Wayland Wallpaper Woes";
|
|
|
|
homepage = "https://github.com/Horus645/swww";
|
|
|
|
license = licenses.gpl3;
|
2023-02-12 23:33:57 +01:00
|
|
|
maintainers = with maintainers; [ reo101 ];
|
2023-02-12 00:32:13 +01:00
|
|
|
};
|
|
|
|
}
|