forked from mirrors/nixpkgs
Merge pull request #248147 from TotalChaos05/waypaper
waypaper: init at 1.2
This commit is contained in:
commit
8365cc5685
|
@ -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";
|
||||
|
|
51
pkgs/applications/misc/waypaper/default.nix
Normal file
51
pkgs/applications/misc/waypaper/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue