nixpkgs/pkgs/tools/X11/xwallpaper/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
885 B
Nix
Raw Normal View History

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