nixpkgs-suyu/pkgs/misc/screensavers/rss-glx/default.nix

28 lines
857 B
Nix
Raw Normal View History

2021-02-23 10:29:59 +01:00
{lib, stdenv, fetchurl, pkg-config, xlibsWrapper, libXext, libGLU, libGL, imagemagick6, libtiff, bzip2}:
stdenv.mkDerivation rec {
version = "0.9.1";
pname = "rss-glx";
src = fetchurl {
url = "mirror://sourceforge/rss-glx/rss-glx_${version}.tar.bz2";
sha256 = "1aikafjqrfmv23jnrrm5d56dg6injh4l67zjdxzdapv9chw7g3cg";
};
2021-01-17 03:30:45 +01:00
nativeBuildInputs = [ pkg-config ];
2021-02-23 10:29:59 +01:00
buildInputs = [ libGLU libGL xlibsWrapper imagemagick6 libtiff bzip2 ];
2021-02-23 10:29:59 +01:00
NIX_CFLAGS_COMPILE = "-I${imagemagick6.dev}/include/ImageMagick";
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 14:21:58 +01:00
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}