nixpkgs/pkgs/applications/science/astronomy/xplanet/default.nix

24 lines
714 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, freetype, pango, libpng, libtiff, giflib
, libjpeg, netpbm}:
stdenv.mkDerivation rec {
2013-12-07 14:57:15 +04:00
name = "xplanet-1.3.0";
src = fetchurl {
url = "mirror://sourceforge/xplanet/${name}.tar.gz";
2013-12-07 14:57:15 +04:00
sha256 = "0hml2v228wi2r61m1pgka7h96rl92b6apk0iigm62miyp4mp9ys4";
};
buildInputs = [ pkgconfig freetype pango libpng libtiff giflib libjpeg netpbm ];
2013-12-07 15:12:31 +04:00
patches = [ ./giflib.patch ];
meta = {
description = "Renders an image of the earth or other planets into the X root window";
homepage = http://xplanet.sourceforge.net;
license = "GPL";
maintainers = [ stdenv.lib.maintainers.sander stdenv.lib.maintainers.urkud ];
platforms = stdenv.lib.platforms.all;
};
}