From 6c9497740f910262178f6e39ef3e96ed87ecccbf Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 6 Sep 2020 18:10:04 +0200 Subject: Add xwallpaper --- pkgs/xwallpaper/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/xwallpaper/default.nix (limited to 'pkgs/xwallpaper/default.nix') diff --git a/pkgs/xwallpaper/default.nix b/pkgs/xwallpaper/default.nix new file mode 100644 index 0000000..2b8a5ee --- /dev/null +++ b/pkgs/xwallpaper/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, pkg-config, autoreconfHook, pixman, xcbutil, xcbutilimage +, libseccomp, libjpeg, libpng, libXpm }: + +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 ]; + buildInputs = [ pixman xcbutilimage xcbutil libseccomp libjpeg libpng libXpm ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/stoeckmann/xwallpaper"; + description = "Utility for setting wallpapers in X"; + license = licenses.isc; + maintainers = with maintainers; [] ; + platforms = platforms.linux; + }; +} -- cgit 1.4.1