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

38 lines
810 B
Nix
Raw Normal View History

{ lib, stdenv
2020-09-07 15:36:38 +01:00
, fetchFromGitHub
, pkg-config
, autoreconfHook
, 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-02-09 19:21:58 +00:00
version = "0.6.6";
2020-05-13 19:14:22 +01:00
src = fetchFromGitHub {
owner = "stoeckmann";
repo = "xwallpaper";
rev = "v${version}";
2021-02-09 19:21:58 +00:00
sha256 = "sha256-WYtbwMFzvJ0Xr84gGoKSofSSnmb7Qn6ioGMOnQOqdII=";
2020-05-13 19:14:22 +01:00
};
preConfigure = "./autogen.sh";
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ pixman xcbutilimage xcbutil libseccomp libjpeg libpng libXpm ];
2020-05-13 19:14:22 +01:00
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;
};
}