nixpkgs/pkgs/applications/science/astronomy/stellarium/default.nix
Vladimír Čunát ed867a50eb iconv: remove usage on Linux in several packages
This fixes builds after #4419. Thanks to @vbgl for the original commit;
I changed that as I'm not sure whether passing null values to buildInputs is clean.

CC maintainers: @coroa, @peti, @phreedom, @robberer, @jcumming.
2014-11-03 12:58:54 +01:00

26 lines
748 B
Nix

{ stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl
, libiconvOrEmpty }:
stdenv.mkDerivation rec {
name = "stellarium-0.12.4";
src = fetchurl {
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
sha256 = "11367hv9niyz9v47lf31vjsqkgc8da0vy2nhiyxgmk1i49p1pbhg";
};
buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl ]
++ libiconvOrEmpty;
enableParallelBuilding = true;
meta = {
description = "Free open-source planetarium";
homepage = "http://stellarium.org/";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
maintainers = [ stdenv.lib.maintainers.simons ];
};
}