2020-09-07 16:36:38 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, autoreconfHook
|
|
|
|
, pixman
|
|
|
|
, xcbutil
|
|
|
|
, xcbutilimage
|
2020-12-26 21:20:57 +01:00
|
|
|
, libseccomp
|
2020-09-07 16:36:38 +02:00
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, libXpm
|
|
|
|
}:
|
2020-05-13 20:14:22 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xwallpaper";
|
|
|
|
version = "0.6.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stoeckmann";
|
|
|
|
repo = "xwallpaper";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "121ai4dc0v65qk12gn9w62ixly8hc8a5qrygkbb82vy8ck4jqxj7";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2020-12-26 21:20:57 +01:00
|
|
|
buildInputs = [ pixman xcbutilimage xcbutil libseccomp libjpeg libpng libXpm ];
|
2020-05-13 20:14:22 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/stoeckmann/xwallpaper";
|
|
|
|
description = "Utility for setting wallpapers in X";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ ivar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|