From 12b265cb5a490895877390ab8e6087b368a17deb Mon Sep 17 00:00:00 2001 From: IvarWithoutBones Date: Tue, 25 May 2021 01:44:28 +0200 Subject: [PATCH] xwallpaper: 0.6.6 -> 0.7.0 --- pkgs/tools/X11/xwallpaper/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/X11/xwallpaper/default.nix b/pkgs/tools/X11/xwallpaper/default.nix index 234b89f94cd8..d99a6ec8dac5 100644 --- a/pkgs/tools/X11/xwallpaper/default.nix +++ b/pkgs/tools/X11/xwallpaper/default.nix @@ -2,6 +2,7 @@ , fetchFromGitHub , pkg-config , autoreconfHook +, installShellFiles , pixman , xcbutil , xcbutilimage @@ -13,20 +14,22 @@ stdenv.mkDerivation rec { pname = "xwallpaper"; - version = "0.6.6"; + version = "0.7.0"; src = fetchFromGitHub { owner = "stoeckmann"; repo = "xwallpaper"; rev = "v${version}"; - sha256 = "sha256-WYtbwMFzvJ0Xr84gGoKSofSSnmb7Qn6ioGMOnQOqdII="; + sha256 = "1bpymspnllbscha8j9y67w9ck2l6yv66zdbknv8s13hz5qi1ishk"; }; - preConfigure = "./autogen.sh"; - - nativeBuildInputs = [ pkg-config autoreconfHook ]; + nativeBuildInputs = [ pkg-config autoreconfHook installShellFiles ]; buildInputs = [ pixman xcbutilimage xcbutil libseccomp libjpeg libpng libXpm ]; + postInstall = '' + installShellCompletion --zsh _xwallpaper + ''; + meta = with lib; { homepage = "https://github.com/stoeckmann/xwallpaper"; description = "Utility for setting wallpapers in X";