b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
40 lines
885 B
Nix
40 lines
885 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, autoreconfHook
|
|
, installShellFiles
|
|
, pixman
|
|
, xcbutil
|
|
, xcbutilimage
|
|
, libseccomp
|
|
, libjpeg
|
|
, libpng
|
|
, libXpm
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xwallpaper";
|
|
version = "0.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stoeckmann";
|
|
repo = "xwallpaper";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-O4VynpP3VJY/p6+NLUuKetwoMfbp93aXTiRoQJkgW+c=";
|
|
};
|
|
|
|
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";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ ivar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|