nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 autoconf,
6 pkg-config,
7 libX11,
8 libXext,
9 libGLU,
10 libGL,
11 imagemagick6,
12 libtiff,
13 bzip2,
14}:
15
16stdenv.mkDerivation rec {
17 version = "0.9.1";
18 pname = "rss-glx";
19
20 src = fetchurl {
21 url = "mirror://sourceforge/rss-glx/rss-glx_${version}.tar.bz2";
22 sha256 = "1aikafjqrfmv23jnrrm5d56dg6injh4l67zjdxzdapv9chw7g3cg";
23 };
24
25 nativeBuildInputs = [
26 autoconf
27 pkg-config
28 ];
29 buildInputs = [
30 libGLU
31 libGL
32 libX11
33 libXext
34 imagemagick6
35 libtiff
36 bzip2
37 ];
38
39 patches = [
40 ./cstddef.patch
41 ];
42
43 env.NIX_CFLAGS_COMPILE = "-I${imagemagick6.dev}/include/ImageMagick";
44
45 meta = {
46 description = "Really Slick Screensavers Port to GLX";
47 longDescription = ''
48 This package currently contains all of the screensavers from the
49 original collection, plus a few others.
50 '';
51 license = lib.licenses.gpl2Only;
52 platforms = lib.platforms.linux;
53 };
54}