1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/science/astronomy/xplanet/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

28 lines
735 B
Nix

{stdenv, fetchurl, pkgconfig, freetype, pango, libpng, libtiff, giflib
, libjpeg, netpbm}:
stdenv.mkDerivation rec {
name = "xplanet-1.3.0";
src = fetchurl {
url = "mirror://sourceforge/xplanet/${name}.tar.gz";
sha256 = "0hml2v228wi2r61m1pgka7h96rl92b6apk0iigm62miyp4mp9ys4";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ freetype pango libpng libtiff giflib libjpeg netpbm ];
patches = [
./giflib.patch
./gcc6.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 ];
platforms = stdenv.lib.platforms.all;
};
}