3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/xwallpaper/default.nix

41 lines
885 B
Nix
Raw Normal View History

{ lib, stdenv
2020-09-07 15:36:38 +01:00
, fetchFromGitHub
, pkg-config
, autoreconfHook
2021-05-25 00:44:28 +01:00
, installShellFiles
2020-09-07 15:36:38 +01:00
, pixman
, xcbutil
, xcbutilimage
, libseccomp
2020-09-07 15:36:38 +01:00
, libjpeg
, libpng
, libXpm
}:
2020-05-13 19:14:22 +01:00
stdenv.mkDerivation rec {
pname = "xwallpaper";
2021-08-13 18:29:16 +01:00
version = "0.7.3";
2020-05-13 19:14:22 +01:00
src = fetchFromGitHub {
owner = "stoeckmann";
repo = "xwallpaper";
rev = "v${version}";
2021-08-13 18:29:16 +01:00
sha256 = "sha256-O4VynpP3VJY/p6+NLUuKetwoMfbp93aXTiRoQJkgW+c=";
2020-05-13 19:14:22 +01:00
};
2021-05-25 00:44:28 +01:00
nativeBuildInputs = [ pkg-config autoreconfHook installShellFiles ];
buildInputs = [ pixman xcbutilimage xcbutil libseccomp libjpeg libpng libXpm ];
2020-05-13 19:14:22 +01:00
2021-05-25 00:44:28 +01:00
postInstall = ''
installShellCompletion --zsh _xwallpaper
'';
meta = with lib; {
2020-05-13 19:14:22 +01:00
homepage = "https://github.com/stoeckmann/xwallpaper";
description = "Utility for setting wallpapers in X";
license = licenses.isc;
maintainers = with maintainers; [ ivar ];
platforms = platforms.linux;
};
}