waypaper: init at 1.2

This commit is contained in:
Basil Keeler 2023-08-09 15:08:28 -05:00
parent aa38e61ec3
commit 76bf7dbefa
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{ lib
, python3
, fetchFromGitHub
, gobject-introspection
, gtk3
, wrapGAppsHook
}:
python3.pkgs.buildPythonApplication rec {
pname = "waypaper";
version = "1.2";
src = fetchFromGitHub {
owner = "anufrievroman";
repo = "waypaper";
rev = "refs/tags/${version}";
hash = "sha256-wD3DtxP4aUwIn+EoM3s1Y9VNEcUGhtyugNBEFHI9eqw=";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
];
propagatedBuildInputs = with python3.pkgs; [
pygobject3
];
# has no tests
doCheck = false;
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
changelog = "https://github.com/anufrievroman/waypaper/releases/tag/${version}";
description = "GUI wallpaper setter for Wayland-based window managers";
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 = licenses.gpl3Only;
maintainers = with maintainers; [ totalchaos ];
platforms = platforms.linux;
};
}

View File

@ -36090,6 +36090,8 @@ with pkgs;
watershot = callPackage ../applications/misc/watershot { };
waypaper = callPackage ../applications/misc/waypaper { };
w3m = callPackage ../applications/networking/browsers/w3m { };
# Should always be the version with the most features