2022-06-05 19:12:24 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoconf
|
|
|
|
, pkg-config
|
|
|
|
, xlibsWrapper
|
|
|
|
, libXext
|
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, imagemagick6
|
|
|
|
, libtiff
|
|
|
|
, bzip2
|
|
|
|
}:
|
2015-03-21 12:46:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.9.1";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "rss-glx";
|
2006-01-28 02:10:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-03-21 12:46:47 +00:00
|
|
|
url = "mirror://sourceforge/rss-glx/rss-glx_${version}.tar.bz2";
|
|
|
|
sha256 = "1aikafjqrfmv23jnrrm5d56dg6injh4l67zjdxzdapv9chw7g3cg";
|
2006-01-28 02:10:26 +00:00
|
|
|
};
|
|
|
|
|
2022-06-05 19:12:24 +00:00
|
|
|
nativeBuildInputs = [ autoconf pkg-config ];
|
2021-02-23 09:29:59 +00:00
|
|
|
buildInputs = [ libGLU libGL xlibsWrapper imagemagick6 libtiff bzip2 ];
|
2008-06-14 20:55:48 +00:00
|
|
|
|
2022-06-05 19:12:24 +00:00
|
|
|
patches = [
|
|
|
|
./cstddef.patch
|
|
|
|
];
|
|
|
|
|
2021-02-23 09:29:59 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${imagemagick6.dev}/include/ImageMagick";
|
2015-03-21 12:46:47 +00:00
|
|
|
NIX_LDFLAGS= "-rpath ${libXext}/lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Really Slick Screensavers Port to GLX";
|
|
|
|
longDescription = ''
|
|
|
|
This package currently contains all of the screensavers from the
|
|
|
|
original collection, plus a few others.
|
|
|
|
'';
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2015-03-21 12:46:47 +00:00
|
|
|
};
|
2006-01-28 02:10:26 +00:00
|
|
|
}
|