Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
67 lines
1.5 KiB
Nix
67 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
gobject-introspection,
|
|
wrapGAppsHook3,
|
|
killall,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "waypaper";
|
|
version = "2.7";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "anufrievroman";
|
|
repo = "waypaper";
|
|
tag = version;
|
|
hash = "sha256-wtYF9H56IARkrFbChtuhWtOietA88khQJSOpfDtGQro=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
build-system = with python3Packages; [ setuptools ];
|
|
|
|
dependencies = with python3Packages; [
|
|
imageio
|
|
imageio-ffmpeg
|
|
pillow
|
|
platformdirs
|
|
pygobject3
|
|
screeninfo
|
|
];
|
|
|
|
propagatedBuildInputs = [ killall ];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
dontWrapGApps = true;
|
|
|
|
preFixup = ''
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
|
|
meta = {
|
|
changelog = "https://github.com/anufrievroman/waypaper/releases/tag/${version}";
|
|
description = "GUI wallpaper setter for Wayland-based window managers";
|
|
mainProgram = "waypaper";
|
|
longDescription = ''
|
|
GUI wallpaper setter for Wayland-based window managers that works as a frontend for popular backends like swaybg and swww.
|
|
|
|
If wallpaper does not change, make sure that swaybg or swww is installed.
|
|
'';
|
|
homepage = "https://github.com/anufrievroman/waypaper";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [
|
|
prince213
|
|
totalchaos
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|