2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-09-25 04:45:31 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, autoreconfHook
|
|
|
|
, pixman
|
|
|
|
, xcbutil
|
|
|
|
, xcbutilimage
|
2020-12-29 15:07:52 +00:00
|
|
|
, libseccomp
|
2020-09-25 04:45:31 +00:00
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, libXpm
|
|
|
|
}:
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xwallpaper";
|
2021-02-13 14:23:35 +00:00
|
|
|
version = "0.6.6";
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stoeckmann";
|
|
|
|
repo = "xwallpaper";
|
|
|
|
rev = "v${version}";
|
2021-02-13 14:23:35 +00:00
|
|
|
sha256 = "sha256-WYtbwMFzvJ0Xr84gGoKSofSSnmb7Qn6ioGMOnQOqdII=";
|
2020-06-15 15:56:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2020-12-29 15:07:52 +00:00
|
|
|
buildInputs = [ pixman xcbutilimage xcbutil libseccomp libjpeg libpng libXpm ];
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-06-15 15:56:04 +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;
|
|
|
|
};
|
|
|
|
}
|