2018-12-31 03:40:47 +00:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, imlib2, libtool, libX11, pkgconfig, xorgproto }:
|
2013-08-01 19:12:44 +01:00
|
|
|
|
2015-02-21 01:49:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hsetroot";
|
2015-02-21 01:49:33 +00:00
|
|
|
version = "1.0.2";
|
2013-08-01 19:12:44 +01:00
|
|
|
|
|
|
|
# The primary download site seems to no longer exist; use Gentoo's mirror for now.
|
|
|
|
src = fetchurl {
|
2015-02-21 01:49:33 +00:00
|
|
|
url = "http://mirror.datapipe.net/gentoo/distfiles/hsetroot-${version}.tar.gz";
|
2013-08-01 19:12:44 +01:00
|
|
|
sha256 = "d6712d330b31122c077bfc712ec4e213abe1fe71ab24b9150ae2774ca3154fd7";
|
|
|
|
};
|
|
|
|
|
2015-02-21 01:49:33 +00:00
|
|
|
# See https://bugs.gentoo.org/show_bug.cgi?id=504056
|
|
|
|
underlinkingPatch = fetchurl {
|
|
|
|
url = http://www.gtlib.gatech.edu/pub/gentoo/gentoo-x86-portage/x11-misc/hsetroot/files/hsetroot-1.0.2-underlinking.patch;
|
|
|
|
name = "hsetroot-1.0.2-underlinking.patch";
|
|
|
|
sha256 = "1px1p3wz7ji725z9nlwb0x0h6lnnvnpz15sblzzq7zrijl3wz65x";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ autoconf automake imlib2 libtool libX11 xorgproto ];
|
2015-02-21 01:49:33 +00:00
|
|
|
|
|
|
|
patches = [ underlinkingPatch ];
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
patchFlags = [ "-p0" ];
|
2015-02-21 01:49:33 +00:00
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
2013-08-01 19:12:44 +01:00
|
|
|
|
2015-02-21 01:49:33 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Allows you to compose wallpapers ('root pixmaps') for X";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://thegraveyard.org/hsetroot.html;
|
2015-02-21 01:49:33 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.henrytill ];
|
|
|
|
platforms = platforms.unix;
|
2013-08-01 19:12:44 +01:00
|
|
|
};
|
|
|
|
}
|