2012-02-19 01:22:20 -08:00
|
|
|
{stdenv, fetchurl, pkgconfig, freetype, pango, libpng, libtiff, giflib
|
|
|
|
, libjpeg, netpbm}:
|
2009-09-11 07:06:51 -07:00
|
|
|
|
2012-02-19 01:22:14 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-07 02:57:15 -08:00
|
|
|
name = "xplanet-1.3.0";
|
2010-01-26 07:27:18 -08:00
|
|
|
|
2009-09-11 07:06:51 -07:00
|
|
|
src = fetchurl {
|
2012-02-19 01:22:14 -08:00
|
|
|
url = "mirror://sourceforge/xplanet/${name}.tar.gz";
|
2013-12-07 02:57:15 -08:00
|
|
|
sha256 = "0hml2v228wi2r61m1pgka7h96rl92b6apk0iigm62miyp4mp9ys4";
|
2009-09-11 07:06:51 -07:00
|
|
|
};
|
2010-01-26 07:27:18 -08:00
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ freetype pango libpng libtiff giflib libjpeg netpbm ];
|
2010-01-26 07:27:18 -08:00
|
|
|
|
2017-08-30 08:04:26 -07:00
|
|
|
patches = [
|
|
|
|
./giflib.patch
|
|
|
|
./gcc6.patch
|
|
|
|
];
|
2013-12-07 03:12:31 -08:00
|
|
|
|
2019-04-22 19:36:35 -07:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=c++11-narrowing";
|
|
|
|
|
2009-09-11 07:06:51 -07:00
|
|
|
meta = {
|
|
|
|
description = "Renders an image of the earth or other planets into the X root window";
|
|
|
|
homepage = http://xplanet.sourceforge.net;
|
|
|
|
license = "GPL";
|
2017-03-27 10:11:17 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
2012-02-19 01:22:20 -08:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2009-09-11 07:06:51 -07:00
|
|
|
};
|
|
|
|
}
|