3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #248147 from TotalChaos05/waypaper

waypaper: init at 1.2
This commit is contained in:
Franz Pletz 2023-08-11 17:09:27 +02:00 committed by GitHub
commit 8365cc5685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 0 deletions

View file

@ -17181,6 +17181,12 @@
githubId = 27586264;
name = "Tobias Schmidt";
};
totalchaos = {
email = "basil.keeler@outlook.com";
github = "totalchaos05";
githubId = 70387628;
name = "Basil Keeler";
};
totoroot = {
name = "Matthias Thym";
email = "git@thym.at";

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

@ -36110,6 +36110,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