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

27 lines
755 B
Nix
Raw Normal View History

{stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl, libiconv}:
let
2012-10-19 10:19:41 +02:00
name = "stellarium-0.11.4";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
2012-10-19 10:19:41 +02:00
sha256 = "8ad5e9878eb36c2c27f4754dcfc69279123e0eae02cc388074e3cf9b23746535";
};
buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl libiconv ];
enableParallelBuilding = true;
meta = {
2012-10-19 10:19:41 +02:00
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 ];
};
}